473,399 Members | 3,401 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,399 software developers and data experts.

How to retain information from a table that is purged and imported daily.

Hello!

I'm fairly new to access, but I'm starting to get the hang of it.
This will be a bit lengthy but hopefully it'll have enough information
for some kind soul to help me out. I'm currently working on a database
where I export data from another program, import the data into access
and then run various queries and what not to generate information
needed for business planning. I can't link directly to the existing
program, so I need to export about 10 reports that I import into
Access.

My problem is that in order to keep the data current I have to
purge my tables and then import new data to replace the old at least
once a day, sometimes twice a day.

To try to track some trends and what not, I need to save some of
the information (generally from queries) So I guess my question is...
When I import my daily information to the table, how can I take a
'snapshot' of the various queries I run and then store the data into
another table? Best ideas I've come up with so far is perhaps making a
macro that copies the data into a new table, however if I do that, then
I'm going to generate a ton of new tables which would take up a ton of
space and would probably prove to be difficult to merge back together
if I wanted to make a monthly or yearly summary type report. I've also
thought about doing the same thing with excel sheets, but again, ton of
sheets, pain to consolidate.

My final thought (and I don't know if this is possible, though
probably the easiest solution) is that when I update my reports the
main reason for purging the current data, and importing the new is
because the new reports generated will have some of the same
information as the last report. Each new report could have anywhere
from 1 to 1000 new lines of data in addition to the information
contained in the last report. Is there an easy way to import the data,
have it compare what is already existing in the table, and then append
only the new information?

Sorry for the obnoxiously long post, any suggestions or
information would be greatly appreciated.

Aug 3 '06 #1
2 1490
"My problem is that in order to keep the data current I have to
purge my tables and then import new data to replace the old at least
once a day, sometimes twice a day."

What? Nonsense. You don't need to purge all the data. If you include
a datestamp in your table and update the table after importing, then
you can filter for the records you want. you're not creating enough
records to hit the 2GB limit, are you?

Importing only new data....
you can import to a temporary/holder table and then use the Find
Unmatched query wizard to find the new records in the new import. Then
you can just turn that into an append query to add them to the final
table.

And what's stopping you from opening a report with a filtered set of
records?

Aug 3 '06 #2

pi********@hotmail.com wrote:
"My problem is that in order to keep the data current I have to
purge my tables and then import new data to replace the old at least
once a day, sometimes twice a day."

What? Nonsense. You don't need to purge all the data. If you include
a datestamp in your table and update the table after importing, then
you can filter for the records you want. you're not creating enough
records to hit the 2GB limit, are you?

Importing only new data....
you can import to a temporary/holder table and then use the Find
Unmatched query wizard to find the new records in the new import. Then
you can just turn that into an append query to add them to the final
table.

And what's stopping you from opening a report with a filtered set of
records?
Thanks for the suggestions! Maybe I'm not experienced enough with
access, but I was having a hell of a time trying to get the filters to
work the way I needed them to. I could get some of the data to show,
but not all in some cases, or it'd duplicate a few fields.. I thought
about time stamping the data that's imported, but I was afraid that
it'd start stacking up information pretty quick, and start filling the
table with unnecessary data. I'm not sure about how much the data is
as far in data size, but It's on average about 20k lines, 15 columns a
report.

I do like the idea of trying to move the data into a temporary holder
table, then use the unmatched query wizard, then append it to the
current data. I think I might give that a try.

Aug 3 '06 #3

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

Similar topics

0
by: Marcel - IDUG Europe 2005 | last post by:
Visit the IDUG Europe Conference Blog for Daily Updates and Conference Information IDUG 2005 - Europe Blog New for this year's conference, IDUG 2005 - Europe has created a blog to give you...
28
by: Lee Rouse | last post by:
Hello all, This is going to be a rather lengthy "question". I have an Access 2k database, separated front end/back end. Front end copies are on about 30 workstations and used frequently during...
4
by: Larry Rekow | last post by:
Using Access 2000, I have a linked table using specification named "Test Link Specification" When attempting to create data adapter in VS.Net, it first complains that it cannot retrieve the...
0
by: biganimal | last post by:
I have a program and I want the program to be able to save question/answers so the program actually gets smarter without getting amnesia everytime its started. Can anyone help??? # questor.py ...
1
by: slynch401k | last post by:
I am trying to import a paradox table into an access database. I need to do this daily as I get a download of this file everyday. I want to do this on startup of a form. How can I check the date...
15
by: OfficeDummy | last post by:
Hello all! I searched the Internet and this forum for a similar problem, but I found no help... Also, I'm a complete newbie to the fascinating world of programming, VBA and Access, so my question...
3
by: lahmcc | last post by:
Hi, I’m a novice with Access (2003, XP PRO OS), and right now I need some help. I receive a fixed-length text file on a daily basis that needs to be imported into an access table. This table...
10
by: Dean | last post by:
My client has a db I am working that uses temp tables. During an update procedure, I had the code If fTableExists(tempTblName) = True Then DoCmd.DeleteObject acTable, tempTblName Then I thought...
3
by: raaman rai | last post by:
Hi Fellas, i need to understand how to retain the submtted form values during an Edit/Update operation. When i add the information from a form, i retain the form values in the following way incase...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
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,...
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.