User Profile

Collapse

Profile Sidebar

Collapse
laborimb
laborimb
Last Activity: Nov 19 '14, 01:36 PM
Joined: Nov 15 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ok, I see. Thanks.
    Now, when I use the AfterUpdate event with setting a breakpoint everything works fine, but without setting a breakpoint I get a "Runtime error 2001: You canceled the previous operation." at the line
    Code:
    Me.Bookmark = RS.Bookmark
    . Well, that sounds mysterious to me :) Which operation did I cancel?

    edit: ok, when I use
    Code:
    Me.Recordset.Bookmark = RS.Bookmark
    : no runtime error, but same behaviour as in the first...
    See more | Go to post

    Leave a comment:


  • Thank you very much for your reply and suggestions.

    The search value control is an unbound textbox. The search routine is called from within the PNr_Searchfield _KeyDown event handler. Could that be a problem? (I added the Dirty-testing as you suggested: everything seems ok.)

    Steve
    See more | Go to post

    Leave a comment:


  • FindFirst only working when setting breakpoint/debugging

    I want to find and move to a record by giving the project number of a record (in a textfield).
    When I set a breakpoint to the FindFirst-methodcall everything works fine, the record is found. If I do not set a breakpoint however, the RS.Bookmark is the same as the original Me.Bookmark, so nothing changes.
    Here is my code:
    Code:
            Dim RS As DAO.Recordset
            Set RS = Me.RecordsetClone
            If Not IsNull(Me![PNr_Searchfield])
    ...
    See more | Go to post
No activity results to display
Show More
Working...