Results 1 to 4 of 4
  1. #1
    Fatti is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    18

    Filter a Datasheet (scorecard again, again)

    Ok back to the scorecard again.



    What if I want to filter the results, The reason being is there is now data in the competition table and it comes through to the form.



    So I would like to filter the results by date at the top with another combo box.

    This way if the person wants to edit the results of a previous competition they can just go to that date and edit the data. If they want to add a new competition they can just create another date, fill out the form, save it and thats a new competition.

    Or am I on the wrong track and should I just create separate forms for create and retrieve?

  2. #2
    Fatti is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    18
    I guess im asking if there is a way to requery the datasheet upon selection of the data combo box at the top. This way I can setup a default start up set (perhaps most recent competition date) and change it once loaded.

  3. #3
    dblife's Avatar
    dblife is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Nov 2011
    Location
    South Shields, UK
    Posts
    104
    You could requery the subform (if that's what it is) by using VB such as,

    me!fSubform.Requery

    This could be done using a command button or an AfterUpdate() event etc.

    But personally, I like to have separate forms for entry and viewing - but that is just my personal preference.

  4. #4
    Fatti is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2011
    Posts
    18
    Quote Originally Posted by dblife View Post
    You could requery the subform (if that's what it is) by using VB such as,

    me!fSubform.Requery

    This could be done using a command button or an AfterUpdate() event etc.

    But personally, I like to have separate forms for entry and viewing - but that is just my personal preference.
    Yeah thats part of the problem is its not a subform. Its a form based entirely on a datasheet, but then ive pillaged it and converted some fields into combo boxes that are bound to other tables values in a primary-foreign key arrangement.

    I think ive done it all back to front and should have started with the form and subform design rather than create a datasheet form from a table and then trying to modify it.

    I might start again I think just to clean it up.

    Cheers for the info.

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

Similar Threads

  1. Datasheet Filter with Check Boxes
    By EddieN1 in forum Forms
    Replies: 1
    Last Post: 05-17-2012, 06:53 PM
  2. Another scorecard question
    By Fatti in forum Forms
    Replies: 4
    Last Post: 12-26-2011, 05:55 PM
  3. Scorecard Question (Combo box)
    By Fatti in forum Forms
    Replies: 3
    Last Post: 12-26-2011, 12:01 AM
  4. Golf scorecard form
    By jrupp82 in forum Forms
    Replies: 1
    Last Post: 03-10-2011, 11:47 AM
  5. Assigning Values/Scorecard
    By nicholali in forum Access
    Replies: 0
    Last Post: 11-17-2008, 03:20 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