SQL?

B

brmk

I am creating an invoice. I need to lookup rates for the bill to customer. The actual field (Rate 1, Rate2, etc) depends on the weight entered by user. How do I look up the rates and then use the field value in a calculation.
 
N

Nikos Yannacopoulos

It would help a lot if you posted the rate table structure (with actual
table and field names) and some example records, as well as the names of the
controls on your form (weight, rate).

Nikos

brmk said:
I am creating an invoice. I need to lookup rates for the bill to
customer. The actual field (Rate 1, Rate2, etc) depends on the weight
entered by user. How do I look up the rates and then use the field value in
a calculation.
 
C

Chris Nebinger

Look at the DLOOKUP function in Help.

It goes like:

Dlookup("FieldName","TableName","WhereCondition")


Chris Nebinger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top