Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / May 2006

Tip: Looking for answers? Try searching our database.

Append Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Smith - 30 May 2006 16:18 GMT
I have a database with 20 fields, and a several hundred records.  In six
records, field2 contains an abreviation, and field3 contains the full word
for the abreviation - all other fields blank.  In the remaining records,
field3 contains any one of the 6 abreviations found in field2, and all other
fields are full with data.

I have created a select query that displays just the field 2 and field 3 for
the 6 records.  I am then trying to create an append query that takes the
value of the abreviation in the select query, field2, compares it to the
content of field3 in the main data, and if it is the same, replace the
content of field3 in the main data with the value of field3 in the select
query.

Have been going round in circles so has anybody got any suggestions.

Thanks in anticipation.

Steve
John Spencer - 30 May 2006 17:50 GMT
First APPEND queries add new records.  UPDATE queries change existing
records.

Which are you trying to do?

Please  copy and post the SQL of your SELECT query.  It may give someone
sufficient information to help you.  (also, could you tell us which fields
are field 2 and field 3?

(Possibly unneeded instructions follow)
Open the query
Select View:Sql from the Menu
Select all the text
Copy it
Paste it into the message

>I have a database with 20 fields, and a several hundred records.  In six
>records, field2 contains an abreviation, and field3 contains the full word
[quoted text clipped - 14 lines]
>
> Steve
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.