Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    32

    Unanswered: Easy question: query results from String containing query name

    This should be an easy one:

    I have a form dropdown which contains the names of all of the query objects in the database. In an event handler, I need to open a resultset from that query. How do I do this? Thanks a lot!!!

  2. #2
    Join Date
    Oct 2003
    Location
    US
    Posts
    343

    Re: Easy question: query results from String containing query name

    Use this line of code.
    Docmd.openquery strQueryName

    where strQueryName is equal to what you have picked from the combo box.


    Originally posted by blm14_cu
    This should be an easy one:

    I have a form dropdown which contains the names of all of the query objects in the database. In an event handler, I need to open a resultset from that query. How do I do this? Thanks a lot!!!

Posting Permissions

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