borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (get values from a file)Next Topic (Mouse Scroll) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Find Command?
Poster Message
s1m0n
Level: Protégé

Registered: 09-10-2006
Posts: 4

icon Find Command?

im using that code:

Private Sub cmdsignin_Click()

Dim User As String

User = Txtuser.Text

DE1.rsReg.Find "mname='" & User & "'"

    If DE1.rsReg.EOF Then
       MsgBox "user not found"
    End If

End Sub

im tryin to search for a name in data enviroment (access.mdb),
the prog always gives me user not found ny ideas?  

[Edited by s1m0n on 10-10-2006 at 08:55 PM GMT]

10-10-2006 at 12:51 AM
View Profile Send Email to User Show All Posts | Quote Reply
Nick2k3
Level: Big Cheese

Registered: 23-11-2003
Posts: 23
icon Re: Find Command?

please complete your statements...

ex. how was the "DE1.rsReg" initialized?

____________________________
Error 404 ...File not found...!!!!

19-10-2006 at 06:18 AM
View Profile Send Email to User Show All Posts | Quote Reply
s1m0n
Level: Protégé

Registered: 09-10-2006
Posts: 4
icon Re: Find Command?

tanks m8 i found the solution, but nyway the
de1.rsreg = Dataenviroment.recordsetreg.

19-10-2006 at 09:11 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Find Command?
Previous Topic (get values from a file)Next Topic (Mouse Scroll) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder