Results 1 to 3 of 3

Thread: Cdonts

  1. #1
    Join Date
    Jan 2004

    Red face Unanswered: 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 Attached Files

  2. #2
    Join Date
    Jun 2003
    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>"

    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
    Access Database Sample, Web Database Sample, ASP Design Tips

  3. #3
    Join Date
    Nov 2003
    Christchurch, New Zealand
    see this thread for more details....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts