I'm trying to use the VFP Command Window to insert data from one table to another. Each time I try this I get a "syntax error" error message. Both tables reside in the same directory. First I use the USE command to specify that I want to use both tables. Then I run this statement:
Could someone please let me know what I'm doing incorrectly? Thanks!
Code:
[b]INSERT INTO[/b] mo_DTL (Md_date, Md_loc_id, Md_mo_seq, Md_amount, Md_emp_no, Md_fee, Md_payee, Md_payor, Md_empname); [b]SELECT[/b] Md_date, Md_loc_id, Md_mo_seq, Md_amount, Md_emp_no, Md_fee, Md_payee, Md_payor, Md_empname [b]FROM[/b] mo_old