Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Select  .... Into

Posted on 2003-11-28
2
Medium Priority
?
271 Views
Last Modified: 2010-05-01
Iam using VB6 and DataBAse access XP, iam using ado to connect to the database. i want to add a number of records from one table to another. now iam using
Select * Into NewTable From OldTable

this method create the table then added the new records to it . that is fine but the problem that i want to add another number of records from the same table to the same new table without loosing the newtable records , is this possible?

Thanx
0
Comment
Question by:ashraf_t
2 Comments
 
LVL 1

Accepted Solution

by:
robdogg10 earned 200 total points
ID: 9840288
Try this SQL.  It will do the trick.

Insert NewTable (fld1, fld2, fld3)
select fld1,fld2,fld3 from OldTable

0
 

Author Comment

by:ashraf_t
ID: 9840332
just you must use into after insert
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question