943,655 Members | Top Members by Rank

Ad:
Mar 5th, 2007
0

Querying a Calculated Field?

Expand Post »
I have a field on a form which is calculated (A minus B). It displays properly on the form with the correct answer. I can't figure out how to get it to pull into a query? My query is pulling any record with that field criteria >0 and no records come up when I run the query altough there should be several with a positive result in the field.

I am a newbie, so please bear with me . . . . thanks in advance for any help.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shar164 is offline Offline
2 posts
since Mar 2007
Mar 6th, 2007
0

Re: Querying a Calculated Field?

Calculated fields in forms only exit in the form. You cannot query a calculated field from a form. You can regenerate the calculations in a query based on the same table the form is base on.

Chester


Click to Expand / Collapse  Quote originally posted by shar164 ...
I have a field on a form which is calculated (A minus B). It displays properly on the form with the correct answer. I can't figure out how to get it to pull into a query? My query is pulling any record with that field criteria >0 and no records come up when I run the query altough there should be several with a positive result in the field.

I am a newbie, so please bear with me . . . . thanks in advance for any help.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
cpopham is offline Offline
65 posts
since Mar 2005
Mar 26th, 2007
0

Re: Querying a Calculated Field?

You need to reproduce your calculated field in a query based on the table(s) your form feeds;(same thing A minus B) and set the criteria of that field to show the range you want. Or set it as a parameter field if you need to ask for different results from time to time.
Reputation Points: 10
Solved Threads: 3
Junior Poster in Training
carolraydon is offline Offline
57 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MS Access and FileMaker Pro Forum Timeline: App Dev in Access
Next Thread in MS Access and FileMaker Pro Forum Timeline: MS Access password





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC