Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    junction is offline Novice
    Windows Vista Access 2003
    Join Date
    Jan 2011
    Posts
    13
    It's definitely there. Run the query and enter 21/12/10 as the date.

    The table it is based on is tblPageNew, the actual SubForm is tblPage2 subform1

  2. #17
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    What is the name of the SubFormControl that displays the SubForm?

  3. #18
    junction is offline Novice
    Windows Vista Access 2003
    Join Date
    Jan 2011
    Posts
    13
    Sorry, I don't understand what you mean.

  4. #19
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I was looking at the wrong form, sorry.

  5. #20
    junction is offline Novice
    Windows Vista Access 2003
    Join Date
    Jan 2011
    Posts
    13
    Have you had any luck?

  6. #21
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I got busy with other stuff and lost this thread. Thanks for the wake up call.

  7. #22
    junction is offline Novice
    Windows Vista Access 2003
    Join Date
    Jan 2011
    Posts
    13
    Have you had any luck? (another wake up call!)

  8. #23
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Not yet but thanks for the additional wake up call. I have not given up yet. Just real busy with "stuff".

  9. #24
    reno is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    1
    Here is what I have done for a form I use (with SubForms), where I want to basically filter it through multiple queries. So I am always looking at the same form, just with different data depending on which 'Filter' button I click... (In Access 2003)

    1. Copy the query used to create the form you wish to filter or run queries on.

    2. Add criteria to the query to get the filter you want.

    3. Open the form in design view.

    4. Add a Command Button to the form. (cancel out of the wizard)

    5. Right click on the button & go to Properties.

    6. All tab.
    a. In the “Name” section: Rename the button
    b. In the “On Click” Section
    i. Choose Event Procedure & click on the “…” to open the VB screen.


    Type in this code (the blue will already be there, just add in the red code:
    Private Sub ButtonName()
    DoCmd.OpenForm "FormName”
    Forms!FormName.RecordSource = "QueryName”
    End Sub

    Create multiple queries for all the different filters you would like to use & just repeat with new buttons.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query to only show a value in a form from a query
    By cwwaicw311 in forum Queries
    Replies: 28
    Last Post: 03-27-2010, 02:31 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