robmoors
Programmer
- Jan 10, 2001
- 24
I am new to Foxpro and new to SQL. I don't have problems using SQL to update a single table, but what if I am trying to update data in table A from the data in table B. I am experienced in Access and do this all the time. Here is the code in Access:
UPDATE tbl_inventory INNER JOIN 01_03_02Accounts ON tbl_inventory.[Account Number] = [01_03_02Accounts].account_nu SET [01_03_02Accounts].cdDays = [tbl_inventory].[cdDays];
How do you do it in Foxpro?
UPDATE tbl_inventory INNER JOIN 01_03_02Accounts ON tbl_inventory.[Account Number] = [01_03_02Accounts].account_nu SET [01_03_02Accounts].cdDays = [tbl_inventory].[cdDays];
How do you do it in Foxpro?