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 > ASP > Script thinks that record isn't there, but it is...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-17-03, 03:58
weevaa weevaa is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
Script thinks that record isn't there, but it is...

Problem Fixed, there was a linebreak in one of the fields.

Last edited by weevaa; 10-17-03 at 20:58.
Reply With Quote
  #2 (permalink)  
Old 10-17-03, 10:57
fhunth fhunth is offline
Registered User
 
Join Date: Oct 2002
Location: Argentina
Posts: 72
I suppose that the execute method has a parameter so as to raise an error when it fails, i think that this parameter has a default so as not to raise errors.

You can try it by passing to the execute method an incorrect sql string or an incorrect data in your INSERT string so as to test if it is raising errors.

Hope it helps
Reply With Quote
  #3 (permalink)  
Old 10-17-03, 14:09
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Re: Script thinks that record isn't there, but it is...

Quote:
Originally posted by weevaa
auction_refdb = RS("AUCTION_REF")
Before you pull data from a RS, make sure it has something in it:

Code:
If NOT RS.BOF AND NOT RS.EOF Then
  auction_refdb = RS("AUCTION_REF")
  .
  .
  .
Else
  Response.Write "No records were found."
End If
Now, if you know for a fact the record exists.. it could be that the case they type the email address in is different.

myemail@domain.com
is diffeent then:
MyEmail@domain.com
(when using SQL)

Try the "LIKE" statement... WHERE BUYER_EMAIL LIKE '" & buyer_emailform & "'"
__________________
That which does not kill me postpones the inevitable.
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On