comparing fields to variables

C

Chris

Is there a way I can compare a variable to a field in a
table? For example I want to create an if statement that
would Do Action x if Variable1 is > the last value list in
table1.

If anyone could help me out I would really appreciate it,
Chris
 
D

David

There is a function called DLOOKUP that can do what you
want. Look it up in Access help for the syntax.
To use this you need to be able to specify the criteria to
access the single record containing the table column you
want.
- David
 

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