referring to a field in a table in VBA

A

Alice Dawson

I was sure that I knew this but...

How do I retrieve the value from a field in Visual Basic? I am using a
table to store some constants and want to use them in some code.
Thank you
Alice
 
R

Rick Brandt

Alice Dawson said:
I was sure that I knew this but...

How do I retrieve the value from a field in Visual Basic? I am using a
table to store some constants and want to use them in some code.
Thank you
Alice

Dlookup("FieldName", "TableName", "Criteria")
 
Top