E
Elliott
How can I build a macro that uses a query to update a
single field in a Form? I have built a macro that opens
the query, goes to the first record and GoToControl to get
to the specific field I want. I have tried using SetValue
to copy the value to the Form field, but I can't get it to
work. My SetValue statement is:
SetValue [Forms]![formname]![account1], [Query]!
[queryname]![account2]. I get an error message that I
have misspelled the query, even though it is valid and
open.
single field in a Form? I have built a macro that opens
the query, goes to the first record and GoToControl to get
to the specific field I want. I have tried using SetValue
to copy the value to the Form field, but I can't get it to
work. My SetValue statement is:
SetValue [Forms]![formname]![account1], [Query]!
[queryname]![account2]. I get an error message that I
have misspelled the query, even though it is valid and
open.