Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2004, 05:42 AM
Authorized User
 
Join Date: Feb 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default Create search box

I have a search box but there is something wrong with my code which i dont undrestand
my field name is prname and its text
Private Sub sbox_AfterUpdate()
  On Error Resume Next
    Me.RecordsetClone.FindFirst "prname =" & Me![Text20]
    If Me.RecordsetClone.NoMatch Then
    MsgBox "not found", , "error"
    sbox = Null
    Else
    Me.Bookmark = Me.RecordsetClone.Bookmark
    sbox = Null
    End If
End Sub
the problem is when i hit the enter nothing will happen but when i test it on a numerical field it was fine

Best Regards,
Hamed Gholamian





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a search engine from scratch? cadvester PHP How-To 2 October 5th, 2006 08:54 PM
search box rizp ASP.NET 1.0 and 1.1 Basics 5 September 10th, 2004 04:49 PM
Search Box acdsky Classic ASP Basics 1 July 5th, 2004 02:51 AM
How to create a search program? kyootepuffy Classic ASP Basics 4 August 25th, 2003 08:43 PM
Search using drop down list box and a text box tcasp Classic ASP Basics 1 July 31st, 2003 02:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.