CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    2

    data1.recordset.findfirst causes GPF



    Hi all,


    When I use


    data1.recordset.FindFirst "[Date] = #3/24/99#"


    to find a record in database and the table does contain a record matching it, a gpf occurs with error msg "read 0x0000:0000" (no gpf if no record matching it). However, if I use MoveFirst and MoveNext to go through the table, everything OK. Any idea?


    Thank you in advance!


    Da

  2. #2
    Join Date
    Feb 2002
    Location
    Australia
    Posts
    125

    Re: data1.recordset.findfirst causes GPF

    Try
    data1.recordset.FindFirst "format([Date],'dd-mmm-yyyy')= #24-Mar-1999#"


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured