-
WSd_rasley
AskWoody LoungerIn order to conserve space on our AS/400 system, we recently pulled 4 years of accounts receivable history into an Access (2000) database. Total records ~ 3.5 to 4 million, 20+ fields, indexed on 4 of the fields. After all the conversion work was done, the database was burned into a CD-ROM, taking up about 450MB. A separate database was created to hold all the queries and reports, linking back to the AR History database – which will allow us to insert different AR History CD’s with other years’ data without having to revise our data retrieval DB.
Now for performance:
The whole system was set up on a 400Mhz Celeron PC, 64MB RAM, Win98A. While creating the history database, updates were understandably slow due to the indexes. Compacting the database was a 20 minute operation (so the “compact on close” option had to be disabled). Accessing the data was extremely fast, since each possible search criteria was indexed. Report data could be printed in its entirety, as was the only option previously, but now we could also print specified portions of the report, or just view the information on-screen.
Splitting the DB into the two components gave us more desirable performance. Accessing the history DB through the link instead of from within the same database was marginally slower, but still quite fast. This also would allow us to load the 150K query & report DB on the user’s PC, set to access the 450 MB history DB remotely through the network or more directly through their own PC’s CD-ROM.
As an extra benefit, we were also able to attain much more flexibility and speed in accessing data than was previously possible when this information was being accessed from the AS/400. The only way to access the information online was through running an interactive query (as opposed to sending the query out for batch processing). Any request for information had the potential to drag the whole system to a near-standstill. Overcoming this problem was another consideration when we were converting to an Access-based system.
Standard “Diet Ad” disclaimer — individual results may vary.
-
WSd_rasley
AskWoody LoungerI think a more elaborate explanation of what we are trying to accomplish with the dbf files is needed…
We have a number of distribution centers, each with a different number of delivery drivers. Each delivery route is assigned a unique route number, which serves as the basis for the filename for their weekly delivery data. The route numbers are grouped by DC, so that route numbers within a given range will always be assigned to the same DC. As routes are added & deleted, merged & split, the route numbers within each DC may develop gaps in the numbering; existing routes are never renumbered.
Each set of weekly data files are saved in a different folder, WK01 to WK52. When the new data files are to be loaded into Access, the current week’s files are copied to a transfer directory. The TransferDatabase macro commands are intended to create links to this stationary target directory, linking each file that _may_be_in_use_ for the week being transferred into the permanent data table.
I feel linking is the better option over importing, if only to keep the overall size of the database from ballooning out of control. The “TransferDatabase / AppendQuery / Delete Linked Table” macro works, but whenever it runs up against a file that does not exist the error message boxes start popping up. Convert the macro into a module, and error handling controls enable the whole process to run uninterrupted.
We need the process to be push-button simple, since it will be loaded up at each distribution center and used by non-Access’ers. It must also be flexible enough to handle the range of route numbers needed without having to be re-programmed continuously.
I havn’t had a chance to try creating the “button” yet to run the module as a function, but on the surface it does look do-able. (I’m very much a novice when it comes to VBA programming, and most of the rest of what I do with Access is self-taught.)
Thanks for the help so far.
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
2 hours, 53 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
2 hours, 15 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
1 hour, 27 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
1 hour, 36 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
2 hours, 19 minutes ago -
Rufus is available from the MSFT Store
by
PL1
1 day ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 2 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
9 hours, 4 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
5 hours, 15 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
22 hours, 24 minutes ago -
Office gets current release
by
Susan Bradley
1 day, 1 hour ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 days, 15 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
1 day, 23 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days, 15 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 1 hour ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 4 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 4 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 4 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 5 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 days, 17 hours ago -
Enabling Secureboot
by
ITguy
3 days ago -
Windows hosting exposes additional bugs
by
Susan Bradley
3 days, 13 hours ago -
No more rounded corners??
by
CWBillow
3 days, 9 hours ago -
Android 15 and IPV6
by
Win7and10
2 days, 23 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 1 hour ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 4 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
3 days, 23 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
4 days, 11 hours ago -
May preview updates
by
Susan Bradley
3 days, 23 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 days, 14 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.