Add 2 fields to your table:
- a Yes/no Field named (say) IsPicked for picking which clients to label;
- a Number field named (say) Quantity, for specifying how many labels you
want for each client.
(This assumes you may want different numbers of labels for each client.)
You can now click the IsPicked check boxe beside each client you want labels
for. To clear all the boxes again (after a print out, before the next one),
add a command button to your form, and put this code into the button's On
Click [event procedure]:
Private Sub cmdUnpickAll()
Dim strSql As String
If Me.Dirty Then Me.Dirty = False 'Save any edits
strSql = "UPDATE [YourTableNameHere] SET IsPicked = False " & _
"WHERE IsPicked <> False;"
dbEngine(0)(0).Execute strSql, dbFailOnError
End Sub
For details of how to get multiple labels per client, see:
Print a Quantity of a Label
at:
http://allenbrowne.com/ser-39.html
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
Guy Lydig said:
I have a report that generates labels for each name in a Therapist table. I
would like to have another report that first permits me to choose which
names
I want by clicking a check box next to the names and also allows me to
choose
the quantity of labels for each therapist.
Suggestions?
TIA
Guy