Code to add new records to a table

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top