A
Alex
I have an append query in a form, which is activated when
entering a new form via a command button.
The code I have written is:
DoCmd.SetWarnings False
DoCmd.OpenQuery "qryAppendAnswers"
[Forms]![subfrmQA].Requery
DoCmd.SetWarnings True
This append should only occur once for each instance.
HOwever, if the user should reenter the second form (by
mistake/user error), then the append query runs again and
I end up with double the amount of records.
How do I stop this from happening?
Please help,
alex.
entering a new form via a command button.
The code I have written is:
DoCmd.SetWarnings False
DoCmd.OpenQuery "qryAppendAnswers"
[Forms]![subfrmQA].Requery
DoCmd.SetWarnings True
This append should only occur once for each instance.
HOwever, if the user should reenter the second form (by
mistake/user error), then the append query runs again and
I end up with double the amount of records.
How do I stop this from happening?
Please help,
alex.