Hi all,
I know this might be a really dumb question, but I just have my own database that I work on as a hobby. I need some handy code in VBA but don't know how to reference this dlookup properly:
Quantity = DLookup("[units]", "Scouting Query", "[Scouting ID] = Form!Scouting Form![Scouting ID] ")
The Form!Scouting Form!
is the part that is incorrect, please help, THANKS
Scouting Form is the name of the form that I want to get the scouting id from.
I know this might be a really dumb question, but I just have my own database that I work on as a hobby. I need some handy code in VBA but don't know how to reference this dlookup properly:
Quantity = DLookup("[units]", "Scouting Query", "[Scouting ID] = Form!Scouting Form![Scouting ID] ")
The Form!Scouting Form!
is the part that is incorrect, please help, THANKS
Scouting Form is the name of the form that I want to get the scouting id from.