Results 1 to 3 of 3
  1. #1
    Burky is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    1

    Help With VERY basic Database

    Hello all,
    I have not used Access for well over 20 years, when I was using it regularly I would have been able to do what I need in no time but now I don't even know where to start. I would appreciate someone who might be able to coach me. I am sure that, I hope that, with a little coaching it will all start to come back to me. OK so here is basically what I am looking for

    I have an Excel spreadsheet and I need to be able to type in a # in an Access form and it will list all the associated fields from the spreadsheet, I do not need to keep the retrieved data it's just a inquiry the excel spreadsheet will be updated regularly.

  2. #2
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    You could create a form with an "unbound" text box, name that box in the name property and then refer to it in the forms record source query (again properties but for the form) under the criteria of the field you want searched.

    criteria: forms!mainform!unboundtextbox

    Have the form requery/refresh the subform or continous form after you have typed in the field using an event (properties of the unbound text box). And afterupdate event will do this (after pressing enter).

    Note: I am assuming you are going to import the excel into a table.

  3. #3
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    My preference is usually to import the data into the DB. There is a wizard you can run and store the import procedure to call on it later via VBA.

    You can link to excel fairly easily. I am not an excel expert or even good at it. Maybe you can name a region within your spreadsheet and search across columns using your Access form. What kind of answer are you trying to get from your query? A count of matches? What the column and row is for each field?

    Having one text box on a form search across columns and worksheets doesn't sound overly simple. Maybe you can provide more details. Maybe it is simple and I just don't know.

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

Similar Threads

  1. Very basic ques for SQL
    By ashu.doc in forum SQL Server
    Replies: 2
    Last Post: 10-05-2012, 12:15 PM
  2. Need Help on Basic settings!
    By Nagarjun in forum Access
    Replies: 10
    Last Post: 04-14-2012, 12:14 PM
  3. basic help
    By garyptaylor in forum Access
    Replies: 3
    Last Post: 05-17-2011, 01:27 PM
  4. Very new to VBA, could use some basic help
    By oregoncrete in forum Programming
    Replies: 13
    Last Post: 03-24-2011, 09:30 AM
  5. A basic question about database design
    By guitarbinge in forum Access
    Replies: 2
    Last Post: 11-05-2010, 03:29 PM

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