I have 2 tables in VFP9, I need to update records from the secondary table into the main table, I have been doing this using do while loops, but I am wondering if there is a more efficient way to do this.
The main table is:
sales.stockcode, sales.yeartodate, sales.lastyear, etc. which are populated with data and it also has empty columns such as january, february, etc.
The secondary table is:
monthly.stockcode, monthly.january, monthly.february, etc.
Both tables are indexed on stockcode. I need to update the monthly records in sales with the data in monthly.
Is there a way to get this done faster?
I will greatly appreciate your feedback.
The main table is:
sales.stockcode, sales.yeartodate, sales.lastyear, etc. which are populated with data and it also has empty columns such as january, february, etc.
The secondary table is:
monthly.stockcode, monthly.january, monthly.february, etc.
Both tables are indexed on stockcode. I need to update the monthly records in sales with the data in monthly.
Is there a way to get this done faster?
I will greatly appreciate your feedback.