Using the "Me" syntax within VBA works fine. However, I have tried unsuccessfully a dozen variations of syntax to achieve the same thing in forms. For example: Within a form field that uses the dLookup function which uses values from the form. The only way I've gotten it to work is to explicitly using the name of the form.
i.e. [linenumber] = forms![formName]![fieldName]
Can't get Me.fieldName to work (or other variations...
I want to be able to generically refer to the form using "Me".
Any ideas?
i.e. [linenumber] = forms![formName]![fieldName]
Can't get Me.fieldName to work (or other variations...
I want to be able to generically refer to the form using "Me".
Any ideas?