G
Guest
I have a form that I created from a query based on two tables.
Both tables have a field called "last defect"
Usually when I create a macro in the form and I use the GotoControl command,
I can type as the argument for the Goto Control action as [last defect],
using the square brackets.
But since I have two controls on the form called "last defect", I don't know
the
correct syntax for the argument.
The error says that "there is no field named last defect in the current
record".
I tried using the syntax that works in the condition statement for the
action, which is "TBL_OLD.last defect", I tried referring to the query or the
form first, and then both,using square brackets and " " but no luck.
What is the syntax used in the argument field?
Thanks in advance for your help!
Both tables have a field called "last defect"
Usually when I create a macro in the form and I use the GotoControl command,
I can type as the argument for the Goto Control action as [last defect],
using the square brackets.
But since I have two controls on the form called "last defect", I don't know
the
correct syntax for the argument.
The error says that "there is no field named last defect in the current
record".
I tried using the syntax that works in the condition statement for the
action, which is "TBL_OLD.last defect", I tried referring to the query or the
form first, and then both,using square brackets and " " but no luck.
What is the syntax used in the argument field?
Thanks in advance for your help!