Results 1 to 2 of 2
  1. #1
    cowboy is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    291

    How do I choose fields from external mdb & xls to do comparison

    I want my user to be able to compare a field "A" in an external access database "1" with a field "B" in an excel spreadsheet "2" based on a field "C". I would like the user to be able to choose all fields and specific database and excel sheets. How should I go about doing this?



    I can write all the code to do the actual comparison I just need to figure out the best way to let the user choose the database -> table -> field for me to do the comparisons on.

    Thanks for help.

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    hmmm...well an sql statement, implemented via vb, can call variable data from a form....you know your basic & Forms!SomeForm.textboxname & in the sql statement itself. so that part is more or less straightforward...

    but how do you know & establish the universe of files/folders & field names from which the user can select? rhetorically speaking. seems pretty tough to do....

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

Similar Threads

  1. Msg-box - choose teamnumber
    By carstenhdk in forum Reports
    Replies: 5
    Last Post: 05-31-2010, 01:32 PM
  2. Comparison
    By VICTOR HUGO in forum Access
    Replies: 8
    Last Post: 02-10-2010, 04:32 PM
  3. Automatically choose which report?
    By Lockrin in forum Reports
    Replies: 2
    Last Post: 12-28-2009, 02:41 PM
  4. Time Comparison
    By Larry819 in forum Queries
    Replies: 1
    Last Post: 06-22-2009, 09:26 PM
  5. How do I choose multiple records for a report
    By admaldo in forum Reports
    Replies: 2
    Last Post: 03-03-2006, 06:02 AM

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