M
Mike Webb
Using Access 2K2.
I am heavily using a sample db from an MVP named Roger Carlson, specifically
his "frmFilterForm".
The 'On Open' property of the form is:
Private Sub Form_Open(Cancel As Integer)
Me.Filter = ""
End Sub
I have a Make Table query I need to run to create the source table
(tblQuery) for this form. It combines the desired fields from my 3 base
tables (one of which is a join/junction table). I wrote a simple macro that
I think will help this. It opens the Make Table query, echo is set to OFF
and then closes the query.
How do I add this in the code? I tried to add "DoCmd.RunMacro
"macroFormOnOpen" ", but I got an Action Failed dialog window and when I
clicked debug, this line was highlighted.
TIA,
Mike
I am heavily using a sample db from an MVP named Roger Carlson, specifically
his "frmFilterForm".
The 'On Open' property of the form is:
Private Sub Form_Open(Cancel As Integer)
Me.Filter = ""
End Sub
I have a Make Table query I need to run to create the source table
(tblQuery) for this form. It combines the desired fields from my 3 base
tables (one of which is a join/junction table). I wrote a simple macro that
I think will help this. It opens the Make Table query, echo is set to OFF
and then closes the query.
How do I add this in the code? I tried to add "DoCmd.RunMacro
"macroFormOnOpen" ", but I got an Action Failed dialog window and when I
clicked debug, this line was highlighted.
TIA,
Mike