Results 1 to 4 of 4
  1. #1
    Trisha is offline Novice
    Windows XP Access 2000
    Join Date
    Feb 2014
    Posts
    8

    Execution error 3464

    Dear ,

    I reused one macro to develop a form in MS access.

    The macro fetch the record set corresponding to the reference value from the table.

    The refermante value is a numeric field.

    The macro code is :

    Private Sub Modifiable20_AfterUpdate()
    Dim rs As Object
    Set rs =Me.Recordset.Clone


    rs.FindFirst "[Reference_Number] = ' " & Me![Modifiable20] & " ' "
    If Not rs.EOF then Me.Bookmark = rs.Bookmark
    End Sub


    Please let me know what to change in the above code to make it work

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    The parts in red wouldn't be needed for a numeric field:

    rs.FindFirst "[Reference_Number] = ' " & Me![Modifiable20] & " ' "
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Trisha is offline Novice
    Windows XP Access 2000
    Join Date
    Feb 2014
    Posts
    8
    Thank you so much it works.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Error 3464 - Data type mismatch
    By JustLearning in forum Forms
    Replies: 1
    Last Post: 01-18-2013, 08:31 PM
  2. Replies: 15
    Last Post: 12-04-2012, 01:39 PM
  3. Run-time error '3464' Date criteria
    By tylerg11 in forum Forms
    Replies: 3
    Last Post: 12-30-2011, 12:34 PM
  4. Error 3464 Reserved Error
    By e.badin in forum Reports
    Replies: 6
    Last Post: 07-18-2011, 02:47 PM
  5. 3464 error received
    By TEN in forum Programming
    Replies: 10
    Last Post: 07-08-2009, 07:25 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