kermit
Registered User.
- Local time
- Today, 04:42
- Joined
- Dec 20, 2002
- Messages
- 12
I am trying to get a Dlookup function to pull one number from a table(trackopupdate). I want to give it a specific item and op(two fields in my table) and i want it to return the largest ID(autonumber) that exists in the table for that item and op.
here's what i have now:
RevRec = DLookup("Max([ID])", "TrackOpUpdate", "Item_Nbr = " & Item & "And Op_Nbr = " & op)
any help would be greatly appreciated...
-kermit
here's what i have now:
RevRec = DLookup("Max([ID])", "TrackOpUpdate", "Item_Nbr = " & Item & "And Op_Nbr = " & op)
any help would be greatly appreciated...
-kermit