I'm working with ASCII data files provided by data vendors in a
standard format. These files contains lots of various pieces of
information for each reporting entity in the file.
Currently I have code to read these ASCII files and arrange the data
into a managable table structure. There is a key field unique to each
entity called PROPNUM.
The workflow is such that one ASCII file (file1.txt) is loaded into
this system. I have a data loading MS-Access database (loader.mdb)
that puts data from the ASCII file into another Access database
(target.mdb). Target.mdb contains a table named Master with the
PROPNUM key field.
I need to develop a routine that checks new ASCII datafiles (e.g.,
file2.txt) for PROPNUMs that are already in Target.Master.
I've started developing this routine in IsItInTarget.md b. I've got
PROPNUMs from file2.txt loaded into a table in IsItInTarget.md b. How
can I search for the presence of each PROPNUM in Target.mdb and report
them.
One simple idea is to use a MsgBox statement to report each occurence,
but someone may have a better idea.
Appreciate any suggestions.
Thanks, Mark 3 1983
Why not see if the "new queries" "find duplicates wizard helps"
Phil
"Mark" <mr****@ogclear inghouse.com> wrote in message
news:9b******** *************** ***@posting.goo gle.com... I'm working with ASCII data files provided by data vendors in a standard format. These files contains lots of various pieces of information for each reporting entity in the file.
Currently I have code to read these ASCII files and arrange the data into a managable table structure. There is a key field unique to each entity called PROPNUM.
The workflow is such that one ASCII file (file1.txt) is loaded into this system. I have a data loading MS-Access database (loader.mdb) that puts data from the ASCII file into another Access database (target.mdb). Target.mdb contains a table named Master with the PROPNUM key field.
I need to develop a routine that checks new ASCII datafiles (e.g., file2.txt) for PROPNUMs that are already in Target.Master.
I've started developing this routine in IsItInTarget.md b. I've got PROPNUMs from file2.txt loaded into a table in IsItInTarget.md b. How can I search for the presence of each PROPNUM in Target.mdb and report them.
One simple idea is to use a MsgBox statement to report each occurence, but someone may have a better idea.
Appreciate any suggestions.
Thanks, Mark
Thanks Phil. It looks like the Find Duplicates query checks for more
than one occurance in a [table].[field]. In this case, there are two
tables involved. One table contains a list of PROPNUMs from the ASCII
file and the second table contains a list of PROPNUMs that have already
been loaded.
Mark Roach
Vice President Technical Resources
The Oil & Gas Asset Clearinghouse
Houston, Texas
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
OK Mark
Try linking Table Master in Target.Mdb into IsItIntarget.md b. I am asseming
that the new PROPNUMs are in a table called something line NewMaster
Then create a simple query based creating a query based on Master and
NewMaster and join the 2 PROPNUM fields. All the results in this query will
be where the 2 PROPMUMs are the same
HTH
Phil
"Mark Roach" <mr****@ogclear inghouse.com> wrote in message
news:41******** *************@n ews.newsgroups. ws... Thanks Phil. It looks like the Find Duplicates query checks for more than one occurance in a [table].[field]. In this case, there are two tables involved. One table contains a list of PROPNUMs from the ASCII file and the second table contains a list of PROPNUMs that have already been loaded.
Mark Roach Vice President Technical Resources The Oil & Gas Asset Clearinghouse Houston, Texas
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: tom |
last post by:
I am new to SQL administration.
>From a list of IDs that are the primary key in one table (i.e. Customer
Table), I want to make changes in tables that use those IDs as a
foreign key.
Basically I want to say:
If fk_ID is in list then
do these statements to that record
|
by: Megan |
last post by:
Hi everybody-
I'm helping a friend with a music database. She has an old one and is
creating a new one. She wants to compare records and fields in the old
database with records and fields in the new database. For instance,
her old database has a table with Band Info in it. Her new database
also has a table with Band Info in it but slightly different. I was
wondering if there was an easy way to compare the fields from similar
tables in...
|
by: aaron.kempf |
last post by:
team
so i have a nice little list in sharepoint.. about 15k items
i've got the simplest little join statement in access; and im trying to
UPDATE the sharepoint list via an access query.
so im joining between my access table and then sharepoint list and i
get the infamous 'numeric field overflow'.
|
by: doncee |
last post by:
I have a list box that is generated on a form by way of a
Parameter Query. Problem is whenever I try to refer to the list
box, i.e., to update the underlying table, I am getting a "null"
value from any row or field I refer to. Have tried using "after
update" events as well as a button click event to no avail. The
debug window always shows "null" values when I bring it up while
trying to examine my code\events. Is there a way to get back to...
|
by: Richard Hollenbeck |
last post by:
I have a column in a table that currently only has one record. That column
is set to combo box. I want the user to be able to lookup values from the
column itself--the very same column--rather than a long list of values in
the rowsource. Then, if the value doesn't exist, the user could type it in,
and the next time that value is needed again it will be there in the list
without having to manually add that value to the rowsource. Is this...
| |
by: Mark A |
last post by:
DB2 8.2 for Linux, FP 10 (also performs the same on DB2 8.2 for Windoes, FP
11).
Using the SAMPLE database, tables EMP and EMLOYEE.
In the followng stored procedure, 2 NULL columns (COMM) are selected into 2
different SP variables and compared for equal. They are both NULL, but do
not compare as equal. When the Not NULL columns (SALARY) are compared, they
do compare as equal.
|
by: Rabbit |
last post by:
Cascading Combo/List Boxes
This tutorial is to guide you in the creation of Cascading combo/list boxes. That is when you have multiple combo/list boxes where the selection of an option in one determines the available options in the other.
TERMINOLOGY
Row Source: The table/query from which the Combo Box or List Box gets its values. Note: There are other types of row sources that can be used but for simplicity we will stick with Tables...
|
by: napatel04 |
last post by:
Hi everyone,
I would like to know if there is a quick query someone can help me
write for the following scenario. I think I can do this with VBA but
since this is suppose to be a temp. solution, I really do not want to
spend too much time on it.
I have two tables, 1 an old one which has work done in it with all the
necessary columns correctly populated with the data and the second one
I need which has the same columns but need to be...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |