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

Calculation in a query: is it possible?

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


Joined: 23 Sep 2009
Posts: 7
Location: Italy

PostPosted: Thu Mar 18, 2010 8:54 am    Post subject: Calculation in a query: is it possible? Reply with quote

I created a database and then a query based on some parameters: as soon as I start the query the dialog box asks me for the parameter's value and the table with the results is shown.
Now I would have the sum of values that match the parameters on the query: I tried in more way without results: the only way I found is to do this is to create a new subquery, based on the previous one, and it works BUT the subquery asks me once again for the parameters.
The same thing happens presenting the results (query and subquery) in a form (query) and subform (subquery).
Is there a way to send the parameter's value from the query to a subquery? or, much better, obtain the sum directly from the first query?

Thanks a lot for your help!

T.
Back to top
View user's profile Send private message
Tibe
General User
General User


Joined: 23 Sep 2009
Posts: 7
Location: Italy

PostPosted: Tue Mar 23, 2010 1:48 pm    Post subject: Reply with quote

Nobody can help me? pls.

T.
Back to top
View user's profile Send private message
RPG
Super User
Super User


Joined: 24 Apr 2008
Posts: 2696
Location: Apeldoorn, Netherland

PostPosted: Tue Mar 23, 2010 3:31 pm    Post subject: Reply with quote

Hello

Your question is several times anwered on this forum.

Learn seaching on internet. there you have found this forum you the limit in your results.
When you insert the next things in your search question then you can limit it to 21 results.

keywords : calculation query
Search for all terms : activate this radio button
author : Sliderule
Forum : OpenOffice.Org Base


then click on button search

Romke
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