B
brig.featherstone
Ok, I am trying to track members(youth) participation in programs. In
order to keep our users from hurting me or themselves I have basically
recreated a paper form we have used for the past few years. So i have
a form with a combo box to select the program, a combo to select the
staff that taught the program, and textboxes for date, time, and
participation points. Then I have 30 combo boxes to select each member
that participated in the program. So after they have entered/selected
all the information, I'll need some code(probably an ()onclick) to add
a record in the participation table for each member that participated.)
Each of the records added would have:
(participationID(auto#)), (staffID(from combo)), (date(txtbx)),
(time(txtbx)), (participationpoints(txtbx)), and (youthID(one of the 30
combos)).
Sadly I am new to VB and programming in general. I believe this will
require a loop because sometimes there will be 10 youth and sometimes
15.... However I am stumped. Any help would be fantastic.
Oh here's some table structure, maybe that will help.
TABLE FIELD
--------------------------------------------------------------
tblparticipation---------------------------------
participationID
staffID
youthID
programID
date
time
participationpoints
tblyouth-------------------------------------------
youthID
firstname
lastname
tblprograms------------------------------------
programID
programname
tblstaff---------------------------------------------
staffID
firstname
lastname
Thanks in advance.
Brig
order to keep our users from hurting me or themselves I have basically
recreated a paper form we have used for the past few years. So i have
a form with a combo box to select the program, a combo to select the
staff that taught the program, and textboxes for date, time, and
participation points. Then I have 30 combo boxes to select each member
that participated in the program. So after they have entered/selected
all the information, I'll need some code(probably an ()onclick) to add
a record in the participation table for each member that participated.)
Each of the records added would have:
(participationID(auto#)), (staffID(from combo)), (date(txtbx)),
(time(txtbx)), (participationpoints(txtbx)), and (youthID(one of the 30
combos)).
Sadly I am new to VB and programming in general. I believe this will
require a loop because sometimes there will be 10 youth and sometimes
15.... However I am stumped. Any help would be fantastic.
Oh here's some table structure, maybe that will help.
TABLE FIELD
--------------------------------------------------------------
tblparticipation---------------------------------
participationID
staffID
youthID
programID
date
time
participationpoints
tblyouth-------------------------------------------
youthID
firstname
lastname
tblprograms------------------------------------
programID
programname
tblstaff---------------------------------------------
staffID
firstname
lastname
Thanks in advance.
Brig