S
Sandra
I have a command buttom with a proc that opens a form and
prints a record. This works fine in one form (a nice
person on the forum helped me with this), but when I copy
the code to use in another form I cannot seem to get the
right syntax for the WhereCondition. I don't know if it is
asking for the form name, the table name, the report name
or something else, but nothing I type seems to work.
DoCmd.OpenReport stDocName,
acPreview, , "PeoplePlaces.PPID = " & Me.PPID
Can someone explain these components to me?
Thanks,
Sandra
prints a record. This works fine in one form (a nice
person on the forum helped me with this), but when I copy
the code to use in another form I cannot seem to get the
right syntax for the WhereCondition. I don't know if it is
asking for the form name, the table name, the report name
or something else, but nothing I type seems to work.
DoCmd.OpenReport stDocName,
acPreview, , "PeoplePlaces.PPID = " & Me.PPID
Can someone explain these components to me?
Thanks,
Sandra