OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Mysql OOo unknown type '246

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
lambcutlet
Newbie
Newbie


Joined: 06 May 2006
Posts: 3

PostPosted: Mon Mar 19, 2007 11:11 pm    Post subject: Mysql OOo unknown type '246 Reply with quote

I am running FC6 and have installed mysql (5.0.27-1) with a java connection(3.1.12-3) to open office (2.0.4).
I have set myself a challenge to keep the scores of my local club, using a database I thought it would be simpler in the long term than a spreadsheet.
Anyway all was going well until I tried to use the 'Sum' or 'Average' function under the query section (design view). Every time I try either 'Sum' or 'Average' I get this error

Code:
SQL Status: S1000 Unknown type '246 in column 0 of 1 in binary-encoded result set.


Does any one have a solution to this?

The format of the column is 'number general'
Back to top
View user's profile Send private message
lambcutlet
Newbie
Newbie


Joined: 06 May 2006
Posts: 3

PostPosted: Wed Mar 21, 2007 1:29 pm    Post subject: sorted Reply with quote

To help others, I have found a solution.
The format of the column in question was set to INTEGER when I changed it to Real(FLOAT) the SUM and AVERAGE functions now work.
I do not have a reason why it now works, but possibly others could comment.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group