Queries calculations

Nick Druce

Registered User.
Local time
Today, 22:47
Joined
Mar 2, 2005
Messages
18
I running a querry to mulitply to fields together using this

Cost Per Week=([Number Of Sessions Per Week]*[Price])

But It wont do it and it will not update the querry?

any ideas Would be wonderfull
 
there are no equals signs in calculated fields, it should be
Cost Per Week:[Number Of Sessions Per Week]*[Price]
it's also good practice not to have spaces in field names
 
Last edited:
Nick Druce said:
I running a querry to mulitply to fields together using this

Cost Per Week=([Number Of Sessions Per Week]*[Price])

But It wont do it and it will not update the querry?

any ideas Would be wonderfull

Cost Per Week: [Number Of Sessions Per Week]*[Price]
 
Cost Per Week: [Number Of Sessions Per Week]*[Price]

This only prompts me for the number of sessions and will not prompt me for the price
 
That would imply the table your query is based on does not have a field called [Number Of Sessions Per Week] but does have a field called [Price].
 
Cost Per Week: [Number Of Sessions Per Week]*[Price]

This only prompts me for the number of sessions and will not prompt me for the price

If you are trying to calculate two fields from your table, make sure that [Number Of Sessions Per Week] and [Price] corresponds to the correct names (not captions) of your fields ... otherwise you will get the prompts.
 

Users who are viewing this thread

Back
Top Bottom