Results 1 to 3 of 3
  1. #1
    FoolzRailer is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    51

    Best approach compairing a lot of different pricefiles coming from different file types

    Hello



    I'm looking at 10-12 different price catalogues/files, the pricefiles come in different layouts (columns/fieldnames) and different filetypes: csv, txt and xml. I need to compare the files with each other based on a unique modelname found in each of them, and thereby locating the cheapest among other things.
    My problem is this, the files are looking to be updated, perhaps every week or so, but will always remain in the same location (so new files overwrite old ones with the same name). In order to start this process this the best, I'm looking for how I should approach this.

    Will it make sense to link the data instead of adding it as a table? Will that work if a new file is overwriting the old one? I'm just thinking of doing some VBA along with Queries in order to find the data I want, but if there is something better suggested I'm all ears.

    The files vary in size around 10-50 mb each, so there are a lot of rows of data in them.

    Any help would be much appreciated.

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,409
    Will it make sense to link the data instead of adding it as a table?
    it depends on the requirement - if the latest file 'is it' i.e. you are not interested in dropped items, then linking should be fine

    Will that work if a new file is overwriting the old one?
    providing field names don't change then should be OK - you may need to refresh the link (can be done in code)

    However they won't have indexing so if the files are large, performance may be slow - so perhaps better to import the data. You'll have to try it and see.

    If importing and data is regularly discarded then you may suffer from bloat, so perhaps better to store the data in a temporary db that can discarded/archived as required and replaced with a new one (keep a template of the tables to create the new one)

    otherwise link to the files and run queries to import new items, update old ones and delete (or mark deleted) those that no longer exist.

  3. #3
    FoolzRailer is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Nov 2015
    Posts
    51
    Appreciate the fast response

    Quote Originally Posted by Ajax View Post
    it depends on the requirement - if the latest file 'is it' i.e. you are not interested in dropped items, then linking should be fine
    providing field names don't change then should be OK - you may need to refresh the link (can be done in code)
    Dropped items doesn't matter, if they aren't in them, they don't need to shown in anyway. Field names shouldn't change.

    I think Bloat might be a real issue, so I'll have a go with linking the data and see how it goes.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Split Database with different file types
    By jcc285 in forum Database Design
    Replies: 9
    Last Post: 05-07-2017, 01:26 PM
  2. Autonumber Coming from middle
    By drunkenneo in forum Programming
    Replies: 6
    Last Post: 10-22-2013, 02:51 PM
  3. criterium coming from another query
    By khhess in forum Queries
    Replies: 2
    Last Post: 02-11-2012, 02:28 PM
  4. #NAME? Error keeps coming back
    By tharless in forum Access
    Replies: 24
    Last Post: 02-09-2012, 03:10 PM
  5. Replies: 7
    Last Post: 10-25-2011, 08:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums