Results 1 to 5 of 5

Thread: Looking for programming suggestions...

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    15
    I have a situation where I need to compare an external text file (with one field) to an Access table. The program needs to determine two conditions: when a value exists on the text file and not in the Access table and visa versa. The values that meet either of these two conditions must be placed in two separate reports.

    My question is how can this be done? My first thought was to dynamically create a temp. database and import the text file into it every time the program is run (deleting it on termination). That way I could use SQL statements to easily do the compares. But since this app will be used by many unique users at different facilities, I don't think this is the way to go. The Access DB is a constant while the text files will be unique to each location.

    Any and all helpful advice or coding examples would be greatly appreciated as I am pretty stumped at this point. My VB skills are novice level. Thank you all in advance!

  2. #2
    Lively Member
    Join Date
    Feb 1999
    Location
    France
    Posts
    90

    I don't know much about databases so I won't be able to give advice on this topic. One suggestion is to try your post in the 'Database development' section, if you haven't done so already.

  3. #3
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600
    Hi simpleton,

    Since your Access DB is going to be a constant, could you put copies of it in locations where the text files could access (no pun intended) it individually? That way, you could implement your idea to import the text files into a temp. DB and use SQL statements to do the comparison.

    Hope this helps.

  4. #4
    Lively Member
    Join Date
    Jun 1999
    Posts
    120
    going a step further on OneSource's idea
    (put copies of the access db...), i think
    you may opt NOT to use a temp. db - you may
    want to use a temp. table in the access
    db itself...

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    15
    Thanks guys...I am going to try this one method and if it doesn't work, I will probably go with pushing my original idea. I'm not exactly sure how I would go with it (using the temp Db or not) but I guess I will cross that bridge when I come to it (or jump off of it)...

    Thanks for the advice folks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width