M
martinmike2
Hello, I would like to append a single record from one table to an
archive table. This record is being displayed in a subform. I am
trying to execute the query with a command button.
1) Would it be easier to place the command button on the subform
instead of the main form?
2) I have a working query but it won't execute using docmd.openquery
-- the code I have in the Click property of the command button is:
docmd.openquery ("qryDEPHIST"). When I go to load the main form I get
a warning saying that the expression is typed incorrectly, but this is
the correct syntax for this function is it not?
archive table. This record is being displayed in a subform. I am
trying to execute the query with a command button.
1) Would it be easier to place the command button on the subform
instead of the main form?
2) I have a working query but it won't execute using docmd.openquery
-- the code I have in the Click property of the command button is:
docmd.openquery ("qryDEPHIST"). When I go to load the main form I get
a warning saying that the expression is typed incorrectly, but this is
the correct syntax for this function is it not?