473,395 Members | 1,584 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,395 software developers and data experts.

How to Limit/Flag Imported Records

Can one set limits on html imported records in Access 97? For example,
would like to prohibit importing records or a group of records whose
ReferenceID number is not within an acceptable number range. Can this
be done by modifying the wizard code. If so, where and how?

A second, less desirable option, would be an OnOpen form message that
states there are recent records imported that are not within the
acceptable range and must be deleted in order to open the form. How
could the out-of-range records be identified as to inform the user
which ones require attention?

Any code tidbits would also be appreciated. Thanks, Rolan
Nov 13 '05 #1
2 1486
co******@safe-mail.net (Rolan) wrote in message news:<52**************************@posting.google. com>...
Can one set limits on html imported records in Access 97? For example,
would like to prohibit importing records or a group of records whose
ReferenceID number is not within an acceptable number range. Can this
be done by modifying the wizard code. If so, where and how?

A second, less desirable option, would be an OnOpen form message that
states there are recent records imported that are not within the
acceptable range and must be deleted in order to open the form. How
could the out-of-range records be identified as to inform the user
which ones require attention?

Any code tidbits would also be appreciated. Thanks, Rolan


If you don't know VBA, I would recommend importing the data to a
temporary table with the same structure as the final table. Then you
can write a query to filter out whatever records you want to exclude.
Just use a parameter query that prompts you for the acceptable range
(if it changes) or hard code it. Then once you've imported all the
records, delete the data from the temp table.
Nov 13 '05 #2
co******@safe-mail.net (Rolan) wrote in message news:<52**************************@posting.google. com>...
Can one set limits on html imported records in Access 97? For example,
would like to prohibit importing records or a group of records whose
ReferenceID number is not within an acceptable number range. Can this
be done by modifying the wizard code. If so, where and how?

A second, less desirable option, would be an OnOpen form message that
states there are recent records imported that are not within the
acceptable range and must be deleted in order to open the form. How
could the out-of-range records be identified as to inform the user
which ones require attention?

Any code tidbits would also be appreciated. Thanks, Rolan


Would have sworn I answered this before, but maybe it hit the bit
bucket.

Don't think you can do that with a wizard. You could open the file as
a linked table and then query out the records you don't want. then
turn that select query into an append qury and you're done.
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: JohnH | last post by:
I have an ASP app (developed with Interdev 6) which uses a DTC listbox (server-side) bound to a recordset to allow the user to make a selection. This works fine until the number of records in the...
1
by: ccr | last post by:
Please view in a text editor so that the columnar text lines up. I used Terminal 9pt font to compose this post and copied/pasted to my newsreader program. I am writing in the hope that one of...
1
by: ccr | last post by:
Reposted with a longer line length. Apologies if I did not cancel the 1st attempt before you got it. If necessary, please view in a text editor so the columnar text lines up. I used Terminal...
3
by: deko | last post by:
Is there any way to limit the number of records loaded into a ListBox? I looked at qdf.MaxRecords (to apply to the query that is the RowSource of the ListBox) but that only applies to ODBC data...
3
by: Jim Archer | last post by:
Hi All... I'm been fighting this problem for a few days now, and it seems like it should be simple. But the solution has eluded me so far... I need to flag a record when it is updated or when...
1
by: Montana_Trader | last post by:
I have a product database that includes a memo field for product descriptions. That database must be imported into a legacy system that has four text fields for product descriptions, each with a...
1
by: aaron.reese | last post by:
Guys, this is my problem:- I have records which are linked by two fields on a left inner join (there may be 0,1 or more records in the right hand table) The relationship is not unique (it's...
3
by: markon | last post by:
Hi, I would like to run few lines of code and limit the time. If the procedure would not be finished say in 1000ms I would like to stop processing it. Unfortunately I do not know where to...
5
by: bobh | last post by:
HI, I understand AccessXP file size has a 2 gig limit but I trying to understand the following I have a tab delimited data file that is 1.3 gigs big and I try to import it into an empty...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
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
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...
0
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...
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.