Results 1 to 4 of 4
  1. #1
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313

    Select a Record to Get Focus in Detail Section of a Form


    I have a simple form with a header, detail, and footer. The detail lists a bunch of records in sequence for the operator to select from. I would like to include all records in the table, but I would like to select the record to be at the top of the display for the operator to begin his search. Any ideas?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    You can go to a particular record otherwise need criteria to sort records into an order that will result in the desired record at top.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    It turns out that if I put the following code in the Form's Load Event:

    Me.RecordsetClone.FindFirst "JobNbr >= '" & pubJCMasterFiscalYear & "'"
    Me.Bookmark = Me.RecordsetClone.Bookmark

    the list of Jobs is the entire list, but the first job of the fiscal year is shown on the top row that is initially displayed. However, the user can still scroll to an earlier or later job number.

    Thanks, Eddie

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Yes, one way to 'go to' a record. Very nice. Congratulations!
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 8
    Last Post: 08-26-2012, 11:11 PM
  2. Detail Section Keeps Repeating values
    By progamer in forum Reports
    Replies: 6
    Last Post: 07-30-2012, 10:28 PM
  3. Replies: 4
    Last Post: 07-10-2012, 01:51 PM
  4. Count in detail section of a report
    By ccordner in forum Reports
    Replies: 9
    Last Post: 02-08-2012, 06:55 AM
  5. The length of detail section of a report
    By blueraincoat in forum Reports
    Replies: 2
    Last Post: 04-06-2011, 12:24 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