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

unbound column in table component

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
ErikJJ
Newbie
Newbie


Joined: 17 Jul 2008
Posts: 2
Location: The Netherlands

PostPosted: Thu Jul 17, 2008 2:40 am    Post subject: unbound column in table component Reply with quote

Hi,

I have a table control (the component) in my OOo base form which contains 4 columns:
id, price, amount, total

The corresponding mysql table contains 3 columns:
id, price, amount (without total)

Now I made a macro which computes the total price. I can store this value in a single text field, but not in the corresponding row of the column 'total' in the table. I only use this for the users convenience.

But the problem is that this value cannot be stored in the table control, since there is no column not bound to any column in the data table. Of course i can add such a column, but that is really ugly...

Is there a way to tell base that this is a temporary field/columns? Or to link them with an array or something?

Thanks!
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 Macros and API 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