using a variable as a string expression

G

Guest

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]"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top