Hello, i have the following problem:
I have a form linked to a table, lets say tableActual.
Now, a user types in his values and saves the table in the following way:
DoCmd.TransferText acExportdelim, , "tableActual", "tableActual.txt", -1
Now, for example, he is at work, types in some values and saves them the
same way. Back home, he getīs the .txt file via email, disk or sth. else.
OK, he can import the table at home with the following code:
dbCurrent.Execute ("select * into tableNew from [tableActual.txt] in
'c:\' 'text;'")
Now i have two tables. I need them to be one, to be tableActual. So i
have to put the two tables together and to delete tableNew.
It could happen, that there are same records in both tables, and i need
to filter them before i can generate the new table.
Is there an elegant way to manage this?
regards, oli 3 2113
You mean like the "Find Unmatched" query wizard? Then turn that into
an append query.
Say "tblNEW" is your new stuff, and "tblOLD" is you existing stuff.
Use the find umatched query wizard to identify all records in tblNew
that are not already in tblOld. Then turn that into an append query to
tblOld.
Run. And you're done.
Oh, and make a backup of your table before you mess something up. Then
when you're sure it's working you can ditch it. pi********@hotmail.com wrote: You mean like the "Find Unmatched" query wizard? Then turn that into an append query.
Say "tblNEW" is your new stuff, and "tblOLD" is you existing stuff. Use the find umatched query wizard to identify all records in tblNew that are not already in tblOld. Then turn that into an append query to tblOld.
Run. And you're done.
Oh, and make a backup of your table before you mess something up. Then when you're sure it's working you can ditch it.
OK, that getīs me further... thanks a lot.
Oli
Oliver Gabriel wrote: Hello, i have the following problem:
I have a form linked to a table, lets say tableActual.
Now, a user types in his values and saves the table in the following way:
DoCmd.TransferText acExportdelim, , "tableActual", "tableActual.txt", -1
Now, for example, he is at work, types in some values and saves them the same way. Back home, he getīs the .txt file via email, disk or sth. else.
OK, he can import the table at home with the following code:
dbCurrent.Execute ("select * into tableNew from [tableActual.txt] in 'c:\' 'text;'")
Now i have two tables. I need them to be one, to be tableActual. So i have to put the two tables together and to delete tableNew.
It could happen, that there are same records in both tables, and i need to filter them before i can generate the new table.
Is there an elegant way to manage this?
regards, oli
I'd have your users knock this off and fast. Seems messy. If they
want to work from home and you still want to other users at work to
continue on, you can put you ms-access app on the web. Another thing
to consider is to allow users to come into your network remotly. If
nothing else, allow the user to get a USB mini-disk. Take the db home
(keep out users at work) and bring it back. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nils |
last post by:
Hello,
my problem:
I merged about 1.000 Tables with
Create table name (variables) type=merge
union=(table1,table2,...,table1000);
MySQL now creates a tables, but I can't open it....
|
by: Bernard |
last post by:
How can I cast the dataset
I generated the dataset from schema and named it 'Staff'. I use this dataset (staff dataset) as a datasource in the report
then I would like to generate the data from...
|
by: campwes |
last post by:
Hey, all. I'm trying to develop a C# app that creates Word 2003 mail merge
documents with an Oracle 9i database as the datasource. I used the following
as an example of how I can start out:
...
|
by: svdh2 |
last post by:
I have been looking at a problem the entire week in access, I have
still not been able to find a solution. Hope that you could maybe tell
where to look
Concerns the link between Access and Word....
|
by: Allen |
last post by:
We converted our app from 1.1 to 2 and some code was no longer working.
The case: From a non typed datatable, convert it to a typed one.
How to reproduce the bug:
-------------------------------...
|
by: cdelarte |
last post by:
I would like to be able to mail merge records from multiple mysql
tables using a simple template, preferably via a command line script.
MSWord mail merge via ODBC will not work for me as it only...
|
by: UDBDBA |
last post by:
Hi All:
I need some clarification on a MERGE statement. The database is on V8
FP12 (AIX) 64bit.
The source table is tableA.
The target is a View "FACT" with UNION ALL because of the 512 Gig...
|
by: Mark Chambers |
last post by:
Hi there,
Can anyone explain the following (very) simple scenario.
1) I make an exact copy of my "DataSet" and delete one record from a given
table (in the copy)
2) I invoke...
|
by: giladp1 |
last post by:
I found Albert Kallal's great "Super easy Word Merge" code in his site
at:
http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html
Thanks Albert so much for sharing this.
I am looking...
|
by: joproulx |
last post by:
Hello all,
Here is my problem:
I am trying to merge 2 datasets but I don't want to overwrite rows
that are already modified in my working dataset.
Example:
I have one Dataset with only one...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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,...
|
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...
| |