Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Onclick of Save button saves data into

Status
Not open for further replies.

dalynching

IS-IT--Management
Apr 2, 2003
7
US
the recordsource table, but i also want to insert two fields on this form into another table that is not the recordsource. Any Ideas?

Dalynching
 
try:

currentdb.execute "insert into table (Field1, Field2) values ('" & me.field1 & "', '" & me.field2 & "');"

leave out the single quotes if the data is numeric
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top