Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Wait, the RecordSource can't have a WHERE clause restricting to a specific record if you want to be able to move to other records. With that filter restriction, there aren't any other records to move to.



    Do one or the other. Reference listbox to filter or use bookmark to move. If you want to use the WHERE then yes, need to requery the form in the AfterUpdate.
    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.

  2. #17
    jaykappy is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Mar 2009
    Posts
    59
    Phheeewwww....that was it June7....THanks so much .....I removed the WHERE clause in the Forms RecordSource and whamo it worked...
    Hey June7 and others that might be following this post...the 2 different methods that we were discussing on the AfterUpdate event of the Listbox work...
    BOTH WORK:

    On the Forms RecordSource I removed the WHERE CLAUSE
    SELECT tbl_V4_Lessons.ID, tbl_V4_Lessons.LessonID,tbl_V4_Lessons.LessonSubje ct,tbl_V4_Lessons.LessonName,tbl_V4_Lessons.Lesson Description FROM tbl_V4_Lessons;

    Method 1:
    Dim rs As Object
    Set rs = Me.Recordset.Clone
    rs.FindFirst "[ID] = " & Me![List16] & ""
    If Not rs.EOF Then Me.Bookmark = rs.Bookmark

    Method 2:
    With Me.RecordsetClone
    .FindFirst "ID=" & Me.List16 & ""
    If .NoMatch = False Then
    Me.Bookmark = .Bookmark
    MsgBox "Nothing"
    End If
    End With

    THANK YOU FOR YOUR TIME AND PATIENCE JUNE7 VERY MUCH APPRECITED

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

Similar Threads

  1. To open a form, sub form if text box entry exist in Query
    By george.vniekerk in forum Programming
    Replies: 2
    Last Post: 08-08-2011, 12:50 AM
  2. Form not allowing new entry
    By Lshy01 in forum Forms
    Replies: 1
    Last Post: 02-04-2011, 10:19 AM
  3. form for New Entry Only
    By bopsgtir in forum Forms
    Replies: 3
    Last Post: 12-30-2010, 09:11 AM
  4. Sub Form Data Entry
    By OldBloke in forum Forms
    Replies: 1
    Last Post: 08-09-2010, 06:58 AM
  5. No entry on open form
    By grant.smalley in forum Forms
    Replies: 4
    Last Post: 01-07-2010, 01:23 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