473,386 Members | 2,050 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,386 software developers and data experts.

Update In Access

42
Hi,

When I receive data for mail outs I separate good addresses records from bad and send the bad ones back to the customer who then updates them and sends them back to me. What I want to be able to do is when I receive the records back is to update them into the table I have over writing the old records(bad records) with the new ones. Using the design query window I have brought the new record table in and select update query option. I cant see a way of updating the new records table into the old records table. Any help would be appreciated.
Jun 30 '08 #1
4 1369
nico5038
3,080 Expert 2GB
When you have A2007 you can use the SharePoint server fuctionalit, for the oder versions VBA code is needed.
First make sure that the unique ID is in the messsage and all the fields needed in a "fixed" way. This will enable you to extract the fields by using a Split command and processing the resulting table.
Are you familiar with VBA code ?

Nic;o)
Jun 30 '08 #2
Big X
42
Not really I just wanted an easy way to update in access. From what Ive been reading I can do a query in access with the old data in design view then put in the update attribute boxes [FIELDNAME].[TABLENAME] . That is an easy enough option I guess but its a bit of a pain if there a lot of fields and no drag and drop option.
Jun 30 '08 #3
Big X
42
That option does not seem to work with the field name. I just got it from Microsoft help updating table with a table. In the end it isn't a big deal. The way Ive been doing the jobs at the moment is I run certain query to find bad addresses then mark them in a column. I then run a query to retrieve all bad addresses and create a CSV for the customer which they update and send back to me. I then run a query on the original table to produce good addresses and do the job. Then I import the returned CSV as a table and produce those last addresses separately. Would just be nice to be able to put the data back into the original table to eliminate runnning to seperate jobs so to speak.
Jun 30 '08 #4
nico5038
3,080 Expert 2GB
You don't even need a query, just open the table and right-click the field you use for marking a bad address, then select the "Filter including" or "Filter excluding" depending on the value you want from the pop-up menu.

Nic;o)
Jun 30 '08 #5

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

Similar topics

12
by: jimserac | last post by:
I had previously posted this in an Access forum with negative results so will try here. Although this question specifies an Access database, I also wish to accomplish this with a large MS SQL...
2
by: Niyazi | last post by:
Hi, I have not understand the problem. Before all the coding with few application everything worked perfectly. Now I am developing Cheque Writing application and when the cheque is clear the...
6
by: Matt | last post by:
I'm having difficulty with trying to update a Access memo field through an SQL statement where the value I'm trying to pass is longer than 255 characters. The field is being truncated. I'm using...
5
by: PAUL | last post by:
Hello, I have 2 tables with a relationship set up in the dataset with vb ..net. I add a new record to the parent table then edit an existing child record to have the new parent ID. However when I...
6
by: FayeC | last post by:
I really need help figuring this out. i have a db with mostly text fields but 2. The user_id field is an autonumber (key) and the user_newsletter is a number (1 and 0) field meaning 1 yes the ...
4
by: George | last post by:
Hi all, I am having trouble with updating my data in an Access database. here is my code: Imports System.Data.OleDb Dim AppPath As String = Mid(Application.ExecutablePath, 1,...
3
by: Roy | last post by:
Hi Access gurus, I have a A2K application.The data in the database is updated daily by a excel download.I have a master n related tables keyed in by a OrderID.I have a problem in updating data.If...
11
by: John | last post by:
Hi I had a working vs 2003 application with access backend. I added a couple fields in a table in access db and then to allow user to have access to these fields via app I did the following; ...
0
by: Cindy Huyser | last post by:
I have an Access 2000 database behind a threaded Java application that that can have have concurrent access to the same table (but not the same record). The database is set up for shared access...
3
by: Michel Esber | last post by:
Hi all, DB2 V8 LUW FP 15 There is a table T (ID varchar (24), ABC timestamp). ID is PK. Our application needs to frequently update T with a new value for ABC. update T set ABC=? where ID...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.