I wish to make one field (target field) on a form use a DLookup based on criteria from another field (source field)on the same form. I did have it working, but now it seems to #Error all the time. I cant for the life of me work out what i have changed.
On the form, the target field is NoOfTerms and the source field is Amount
I am setting control source to:
=DLookup("[Count]","[tblMatrix]","Amount=[Amount]") which produces #error.
If I change it to
=DLookup("[Count]","[tblMatrix]","Amount=18") it works.
All help appreciated. Thanks.
On the form, the target field is NoOfTerms and the source field is Amount
I am setting control source to:
=DLookup("[Count]","[tblMatrix]","Amount=[Amount]") which produces #error.
If I change it to
=DLookup("[Count]","[tblMatrix]","Amount=18") it works.
All help appreciated. Thanks.