using a variable as a string expression

D

dmryan

getting infor from a field wit
x=table1![field1] works fine but how do you write the code interms of a variable when string var1="table1![field1]"
 
D

Duane Hookom

Your question is a bit difficult to understand. A WAG is
=DLookup(strFieldName,strTableName)

--
Duane Hookom
MS Access MVP


dmryan said:
getting infor from a field with
x=table1![field1] works fine but how do you write the code interms of a
variable when string var1="table1![field1]"?
 
Top