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 > Cdonts

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-04, 09:19
luisymary luisymary is offline
Registered User
 
Join Date: Jan 2004
Posts: 10
Red face Cdonts

I got a problem, the form is sending but without the information only the HTML but no info from the user. I was wondering; Do I have to declare variables for the information from the recordset? If it is yes, where sould I start declaring them and how?

PS: The info that is not sending is the one from the table from a recordset.
Attached Files
File Type: zip new folder.zip (6.9 KB, 29 views)
Reply With Quote
  #2 (permalink)  
Old 02-18-04, 19:17
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Response.Write's are a good way to do some debugging to see if variables or recordset fields really contain the information you think they should.

For example in a login page where the user's access level is assigned to a session variable one could do something like the following:
Response.Write objRST("UserName") & "<br>"
Response.Write objRST("UserPassword") & "<br>"
Response.Write objRST("UserAccess") & "<br>"
Response.Flush
Response.End

The second of the last line above is often required if buffering is set on (Response.Buffer = True) which it perhaps usually would be.
The last line above is optional for if you need to stop the code from running after that point (i.e. to avoid a page redirect or something).
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
  #3 (permalink)  
Old 02-18-04, 19:30
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
see this thread for more details....

http://www.dbforums.com/t983588.html
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