Code to add new records to a table

  • Thread starter Thread starter Howard
  • Start date Start date
H

Howard

I need to populate a table at the click of a button
control. Can someome provide me with a sample set of
instruction to code in the click event for the button
object? Use as an example a table called "components" with
three fields; customer_id, component_id, and price. In
actuality, there will be about a dozen fields set per
record and up to 50 records created per iteration.
The instructions need to set the record field values and
save the record (I guess ???). I will be creating dozens
of records (different field values) for each new customer.
Some of the field values will be taken from fields on the
form, but the majority will be hardcoded.
Thanks!
-Howard
 
Back
Top