I have a data entry form that I want to populate the age field automatically when the (field) last name(after update event) is entered ( previously in table).
I have used this dlookup:
DLookup("age", "general info", "[Age] = '" & Me.Age).
This bombs. I have tried some many variations I've lost count. I had some code that populated the field but with the wrong age. Ive been unable to replicate it. I have used brackets, not used them. All the same result.
Table: general info
field to fill: age
It seems the 3rd part of the dlookup is the problem.
Any Suggestions or solutions greatly appreciated.
Thx John
I have used this dlookup:
DLookup("age", "general info", "[Age] = '" & Me.Age).
This bombs. I have tried some many variations I've lost count. I had some code that populated the field but with the wrong age. Ive been unable to replicate it. I have used brackets, not used them. All the same result.
Table: general info
field to fill: age
It seems the 3rd part of the dlookup is the problem.
Any Suggestions or solutions greatly appreciated.
Thx John