Results 1 to 4 of 4
  1. #1
    chris.williams is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Posts
    94

    Form with Tabs and multiple external queries

    Hello all - I have a single form with tabs. Each tab has a search field for a record for an external data source.



    The problem that I am having is that on loading of the form, all the queries are run (in the case of initial loading of the form, all records are returned from the external sources).

    What I would like to to is to have the subforms run their queries when search criteria is submitted via an event instead of on form load. The query on event works fine, but I want to stop the query on subform load. Right now, the external sources are small, but they will grow and there are remote users so the connection speeds vary.

    This will be a significant performance issue when the data sets grow.

    Thanks...

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    you need to make these unbound forms (subforms) with no record source property.

    hope this helps.

  3. #3
    chris.williams is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Posts
    94
    Well - that stopped the load issue, but now the forms are broken and don't return data on the search. Got #name errors. I guess I have to specify the data source and field names for each control object.

  4. #4
    chris.williams is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Posts
    94
    Hmmm... Specifying [TableName]![FieldName] did not resolve the issue on the form when it was not bound to the data source.

    Any ideas?

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

Similar Threads

  1. Replies: 6
    Last Post: 11-09-2011, 02:41 AM
  2. Replies: 3
    Last Post: 10-13-2011, 02:27 PM
  3. Form queries. Multiple checkboxes.
    By radink in forum Queries
    Replies: 4
    Last Post: 04-27-2011, 07:34 AM
  4. 1 Form used to open Multiple Tabs
    By joefonseca79 in forum Forms
    Replies: 3
    Last Post: 03-08-2011, 09:42 PM
  5. export report to multiple tabs
    By mws5872 in forum Import/Export Data
    Replies: 0
    Last Post: 06-30-2009, 03:07 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