G
Guest
I have created an option box and would like to select three of the options
listed in the option box, and can't get it to work, can this be done?
Thanks,
listed in the option box, and can't get it to work, can this be done?
Thanks,
Tina Gray said:I have created an option box and would like to select three of the
options listed in the option box, and can't get it to work, can this
be done?
Al Camp said:Dirk,
If I could slip this note in here...
A few days ago (in an old post) we discussed using the "filter"
for a form as the filter for a report...
Doug Steele, you, and I, thought it would fly...
Well, it does... and it really works great!
In the past I've done all sorts of convoluted parameter queries,
built complicated criteria forms, or used complicated "argument"
strings in the OpenReport function... all trying to build report
"flexibility". What a pain!
Here's the code I use... couldn't be simpler...
Private Sub Report_Open(Cancel As Integer)
If Forms!frmCustomers.FilterOn = False Then
Me.Filter = "CustID = Forms!frmCustomers!CustID"
Me.FilterOn = True
Else
Me.Filter = Forms!frmCustomers.Filter
Me.FilterOn = True
End If
End Sub
When the user is looking at all the records, the report only
prints the one record being displayed.
If the user filters the form recordset (ex. by City returning 100
records), the report prints those in a "batch"