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
 
Top