Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with DLookUp

Status
Not open for further replies.

camidon

Programmer
May 9, 2000
268
US
I'm wanting to use DLookUp in my table to populate a field. I'm building the expression like this.

=DLookUp("[agingcat]","tblagingcat",Choose(DateDiff("ww","opendate",Date()),1,2,3,4,5,6,7,8,9,10,11,12,13,14))

It's telling me that DLookUp is not a valid function. How can I use this code on a table to populate a field.

Any help is appreciated.

Chris
 
I think the function is applicable in query or form, not in table. Try to create a query with the table as source, and add a field there using dlookup.
 
I think you're right. I'll try to create a query with the data in it and see if that works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top