R
rob p
One table, form and then report with a deletefield checkbox. On my form,
filter deletefield=0. That gives me all unchecked. Works. I have a command
button on the form to preview report (and print only unchecked records).
Dim stDocName As String
Me.Filter = "deletefield=0"
stDocName = "rptboxunchecked"
DoCmd.OpenReport stDocName, acPreview, , Me.Filter
this works too.
----------------
On another form, filter (([tblcompany Query].[Client Inactive]=0)). This
will display all clients not checked inactive.
When I have two forms with filters one or the other work but somewhere along
the line one form or the other picks up the others filter.
Should I put this in a filter? and if so, the filter option on form doesn't
seem to drop down for selecting the macro.
thanks.
filter deletefield=0. That gives me all unchecked. Works. I have a command
button on the form to preview report (and print only unchecked records).
Dim stDocName As String
Me.Filter = "deletefield=0"
stDocName = "rptboxunchecked"
DoCmd.OpenReport stDocName, acPreview, , Me.Filter
this works too.
----------------
On another form, filter (([tblcompany Query].[Client Inactive]=0)). This
will display all clients not checked inactive.
When I have two forms with filters one or the other work but somewhere along
the line one form or the other picks up the others filter.
Should I put this in a filter? and if so, the filter option on form doesn't
seem to drop down for selecting the macro.
thanks.