Hi,
Currently using VB 2008 with MS Access 2003.
I have Two Tables with Names - " Company_Data" & "User_Data" in which i have the following columns.....
Company_Data
Name|Age|Department|Salary
User_Data
Name|Age|Department|Updated On
Now, Is there any code that can do the following:
when i select a name in the combo box on the form (The list in the combo box is from the Name in the Company_Data table) and click update.
It should copy the Details of the Record from Company_Data to User_Data with the current date in "Updated on" column.
Please Note that the columns are not exactly Same. (Salary is not necessary in the User_Data)
Thanks for your help.
Copy Data From One Table to other Table
Page 1 of 13 Replies - 6188 Views - Last Post: 19 January 2009 - 07:13 PM
Replies To: Copy Data From One Table to other Table
#2
Re: Copy Data From One Table to other Table
Posted 19 January 2009 - 11:57 AM
Why would you ever really want to do this?
Yes.. a basic 'update' statement would take care of what you need.. of course fitting it for each table.
let me rephrase that and say 'why would you want the same data in two locations? that would cause potential disconnects of data. it would be best to have it all in one location'.
Yes.. a basic 'update' statement would take care of what you need.. of course fitting it for each table.
let me rephrase that and say 'why would you want the same data in two locations? that would cause potential disconnects of data. it would be best to have it all in one location'.
This post has been edited by modi123_1: 19 January 2009 - 01:07 PM
#3
Re: Copy Data From One Table to other Table
Posted 19 January 2009 - 05:51 PM
Maybe for backup database?
#4
Re: Copy Data From One Table to other Table
Posted 19 January 2009 - 07:13 PM
backing up would be the data and tables cloned.. this is shifting data from one table to a different table for.. editing?
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|