I'm trying to figure out how to transfer data from one record to another in my database.
I've got a table named tblCompany. My Primary Key is CompanyNumber. What I would like to do is have the user select a company and transfer all of this data, except the CompanyNumber, to another company that has a different CompanyNumber in the database.
Example: User selects company # 123. Then in some pop up window, the user types in company # 456 of another company that is in the database. All of the data from company # 123 ,except for the company number, would be put into company # 456.
Can anyone give me a short example on how I would write the query?
Thanks!
I've got a table named tblCompany. My Primary Key is CompanyNumber. What I would like to do is have the user select a company and transfer all of this data, except the CompanyNumber, to another company that has a different CompanyNumber in the database.
Example: User selects company # 123. Then in some pop up window, the user types in company # 456 of another company that is in the database. All of the data from company # 123 ,except for the company number, would be put into company # 456.
Can anyone give me a short example on how I would write the query?
Thanks!