S
SDCT
Hi,
I am attempting to add multiple records to a table from a command
button. All but one of the fields will be the same for each record. I
have checkboxes with user names, and I'd like to add a record for each
user that is checked. The form is unbound - with textboxes that will
hold the standard information for each record. I just need to add
separate records based on whether the user's checkbox is checked...
if chkbox.value = -1 then
docmd.runsql "insert into..."
I'm having trouble setting up the loop and/or recordset. Any guidance
is greatly appreciated.
Thanks
I am attempting to add multiple records to a table from a command
button. All but one of the fields will be the same for each record. I
have checkboxes with user names, and I'd like to add a record for each
user that is checked. The form is unbound - with textboxes that will
hold the standard information for each record. I just need to add
separate records based on whether the user's checkbox is checked...
if chkbox.value = -1 then
docmd.runsql "insert into..."
I'm having trouble setting up the loop and/or recordset. Any guidance
is greatly appreciated.
Thanks