473,394 Members | 1,811 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Access Programming

hi every one ,


I have got a doubt regarding MS Access 2003. how can i move data from one table to another table using queries
Feb 10 '08 #1
5 1256
puppydogbuddy
1,923 Expert 1GB
hi every one ,


I have got a doubt regarding MS Access 2003. how can i move data from one table to another table using queries
Try this, replacing the illustrative object names with the object names (tables and fields) used in your application.

Insert Into TableName2 (FieldName1, FieldName2) Select FieldName1, FieldName2 From TableName1;
Feb 10 '08 #2
Try this, replacing the illustrative object names with the object names (tables and fields) used in your application.

Insert Into TableName2 (FieldName1, FieldName2) Select FieldName1, FieldName2 From TableName1;

Thank you for your reply but you have explained it in terms of sql but i require it in Access methodology
Feb 10 '08 #3
MMcCarthy
14,534 Expert Mod 8TB
Thank you for your reply but you have explained it in terms of sql but i require it in Access methodology
This is Access. Just open the query window in design view without adding any tables. Then switch the view to SQL and paste in this code with you column and table names substituted.
Feb 10 '08 #4
How will this query work??When vil it run???(i m using access as backend n vb as frontend)...I mean if during runtime the values in table1 are updated then will that immediately be reflected in table2???
Feb 11 '08 #5
MMcCarthy
14,534 Expert Mod 8TB
How will this query work??When vil it run???(i m using access as backend n vb as frontend)...I mean if during runtime the values in table1 are updated then will that immediately be reflected in table2???
No this is an action query and has to be triggered. It will only run when you trigger it to run.
Feb 11 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

63
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy...
13
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much appreciate a (simplifed) message explaining the advantages...
4
by: bborden | last post by:
I am considering writing a database program that contains text and images with an easy to use interface for my friend's dermatology physician practice. Basically Patient information that links to...
20
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to...
34
by: Mathieu Trentesaux | last post by:
Hello I downloaded Office 2007 for this reason : It seems, once again, that it is impossible to save any modification done in a VBA library, from the main project in Access. The save button...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.