Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 5th, 2004, 05:42 AM
Authorized User
Join Date: Feb 2004
Location: london, uk, United Kingdom.
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
    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
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 02:13 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.