If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > ADO / login / Database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-30-04, 09:13
kevin_lane kevin_lane is offline
Registered User
 
Join Date: Apr 2004
Posts: 3
ADO / login / Database

Hello people i've got a prob with my code you see im making a login but the thing is i've got my data base and in their i have my UserName fields and password fields yea and my controls on my visual basic are connected to the fields in my data base yea but when i come to code it and everything when i go if txtpass.text = adofirewall.recordesource!Password then
mshbox "yes"
else
msgobox "no"
end if
i get an error saying Qualifer must be collection ???? what i dont understand
and even when i change it to Recordset!Password it just keeps saying yes all the time even when i check the data base its stupid i just need it to work for the user name and password its been doing ma head in now for like 3 months nothing please help me
Reply With Quote
  #2 (permalink)  
Old 04-30-04, 10:20
SCIROCCO SCIROCCO is offline
Registered User
 
Join Date: Mar 2004
Location: www.scirocco.ca
Posts: 346
Please post the code that you are using.
__________________
http://www.scirocco.ca/images/banner...occobanner.gif

Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!

Or try our Ask An Expert service to answer any of your questions!
Reply With Quote
  #3 (permalink)  
Old 04-30-04, 17:23
kevin_lane kevin_lane is offline
Registered User
 
Join Date: Apr 2004
Posts: 3
here is the source code

If txtpass.Text = adofirewall.Recordset!Password Then
MsgBox "password correct"
Else
MsgBox "you are denied"
End If
End Sub

hope u can help me
Reply With Quote
  #4 (permalink)  
Old 05-06-04, 10:36
kevin_lane kevin_lane is offline
Registered User
 
Join Date: Apr 2004
Posts: 3
Exclamation

IS SOME ONE GOING TO HELP ME THEN
Reply With Quote
Reply

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 On
Pingbacks are On
Refbacks are On