Please help

D

Dave B

Could any body please help with the following problem,

I am trying use Dlookup on the after update event of a
text box (called Part Name) to return
The ‘Part ID’ of a ‘Part’ from the ‘Parts Table’ based on
on the following (help file code).
Dlookup ("[Part ID]", "Parts", "[Part Name] = " & Forms!
Part list! Part Name)
Each time I update the text box I get the following error
message,
Run time error 2471 the object doesn’t contain the
automation object & Part Name.

Part ID: is an indexed (no duplicates) auto number field.
Part Name: is an indexed (no Duplicates) text field.

Any help would be most appricated.
 

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