|
-
Sep 22nd, 1999, 07:05 PM
#1
Thread Starter
Member
Hi, another problem. I need to copy a table called "AR" to another table "Acc" in the same database, how do i do it? Can I use INSERT ? I used but without much success. Or is there another way? The code I used is as per below:
Adodc1.RecordSource = "INSERT ACC (SELECT * FROM AR)"
Pls guide me. Thks
-
Sep 23rd, 1999, 04:00 AM
#2
Frenzied Member
What you posted should work if ACC and AR have the same structure.
-
Sep 23rd, 1999, 09:31 AM
#3
Thread Starter
Member
Both the table got the same number of field but the error message keep coming out syntax error in INSERT INTO statement ??? Thks
-
Sep 23rd, 1999, 06:43 PM
#4
Try to remove the parenthesis.
Insert Acc Select * From Ar
Regards,
------------------
Serge
Software Developer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|