How to refer to a specific record in a query (1 Viewer)

Greyowlsl

Mlak Mlak
Local time
Today, 10:49
Joined
Oct 4, 2006
Messages
206
Hi,

I have a form which has a number of text boxes that need their value multiplied by their corresponding value in a query.
The query has a product field, and a product count field.

Example:
Text1 has a label called wood1 (the product), so i need text1 to lookup wood1 in the query (product field) and then get the corresponding value (product count) and multiply it by the value in text1

Thanks,
Leon
 

MStef

Registered User.
Local time
Today, 01:49
Joined
Oct 28, 2004
Messages
2,251
As I can understand you, I think you don't need a query.
Look at "DemoProductCountA2000.mdb", (attachment, zip).
Look at Table1, Form1. Open Form1 and try.
Adapt it in your MDB.
 

Attachments

  • DemoProductCountA2000.zip
    8.6 KB · Views: 71

Greyowlsl

Mlak Mlak
Local time
Today, 10:49
Joined
Oct 4, 2006
Messages
206
Hi MStef, thanks for the reply

Unfortunately the database wont run, most likely because i am running access 97, which i think is incompatible.
 

MStef

Registered User.
Local time
Today, 01:49
Joined
Oct 28, 2004
Messages
2,251
OK, here it is Access97, (attachment, zip).
 

Attachments

  • DemoProductCountA97.zip
    10.1 KB · Views: 62

Users who are viewing this thread

Top Bottom