If the productname is being stored in the master table is it really necessary to store it in the child table? If the tables are joined which they seem to be by the productcode then you can retrieve the productname from the master table based upon the productcode in the child table.
Hi JKing
I think you didnot get me.
I have two Tables
1. Product
with fiels Productcode---Number
Productname--Text
Now i want to design a form where i enter the Productcode & the Productname gets populated automatically.This i have done using a Query. when ever i enter the productcode the product name gets populated automatically.
Now i want this data to store in another table. that is the reason i have created another table called "Detail".
With fiels Date------ date/time
Partyname ---Text
Productcode---Number
Productname --- Text
Amount-----------Currency
I have created a form with the above fiels & a command button.
after entering the above fiels. I enter the productcode & the productname gets populated automatically.
Problem comes when i click the command button to add those records to the Table "Detail". Every things get added except the Productname.
Hope you understand me better this time.
Please Help
Regards
Manoj