S
Stephen Glynn
I've recently, with a great deal of help from this group, been trying to
set up a system for an acupuncturist to keep records of what points he's
used in each session with his patients.
Doubtless I'll be back with several more questions as the project
progresses but I'm a bit puzzled about part of the design concept.
There are about 360 points he uses (not all in each session, obviously).
He wants to be able to click on check boxes in a form to record which
points he's used in each session.
There seem to me to be two ways of handling this.
One is to have a tblNeedlings with an autonumber NeedlingID primary key,
a NeedlingName, NeedlingDescription (both text fields) and a check box
for USED, bind each check box on the form to a record in the table,
then run an append query based on tblNeedlings with the criterion
"tblNeedlings.USED = True" to add the NeedlingID to a
tblTreatmentRecords followed by an update query to reset all the USED
fields in tblNeedlings to "False".
The other -- suggested by several people in this group -- is to use
unbound checkboxes, set their tag property to correspond with a
NeedlingID and run the append query from code based on the entries on
the form.
I've set it up both ways in alternative versions and I'm not completely
happy with either. The first way (basing it on a temporary entry in
the table) means, AIUI, only one person can use the system at a time --
not a problem in this case but it could be if his practice expands and
he takes on a partner. The second way means I've the same information
stored in both the table and the form and that I'm not actually using
the table for very much at present, which feels all wrong.
Anyone got any advice?
Steve
set up a system for an acupuncturist to keep records of what points he's
used in each session with his patients.
Doubtless I'll be back with several more questions as the project
progresses but I'm a bit puzzled about part of the design concept.
There are about 360 points he uses (not all in each session, obviously).
He wants to be able to click on check boxes in a form to record which
points he's used in each session.
There seem to me to be two ways of handling this.
One is to have a tblNeedlings with an autonumber NeedlingID primary key,
a NeedlingName, NeedlingDescription (both text fields) and a check box
for USED, bind each check box on the form to a record in the table,
then run an append query based on tblNeedlings with the criterion
"tblNeedlings.USED = True" to add the NeedlingID to a
tblTreatmentRecords followed by an update query to reset all the USED
fields in tblNeedlings to "False".
The other -- suggested by several people in this group -- is to use
unbound checkboxes, set their tag property to correspond with a
NeedlingID and run the append query from code based on the entries on
the form.
I've set it up both ways in alternative versions and I'm not completely
happy with either. The first way (basing it on a temporary entry in
the table) means, AIUI, only one person can use the system at a time --
not a problem in this case but it could be if his practice expands and
he takes on a partner. The second way means I've the same information
stored in both the table and the form and that I'm not actually using
the table for very much at present, which feels all wrong.
Anyone got any advice?
Steve