insert data into another table after saving the current form.

A

apro

h
i am not able to insert data form currrent form into another table
i have a primary key field customer no in current form, which is generated automatically and i want the same value to be inserted in to another table: orders, which has same field and and is of same data type
i used insert command, and DoCmd.RunSQL comman
Insert Into table(feild) values (forms!feild.value
o
even if i assign a variable to a numbe
and use it insted of (forms!feild.value
it does not work, it asks for user to input parameter

please help me
thank
 

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