Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 17th, 2004, 03:37 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

How do I make a submit button in the asp code is my question actually.
Code:
<input type="submit" value="Mail Them" Name="MailSubmit">
' this line goes just above the </Form> tag.
Here SubmitButtonName is MailSubmit and SubmitButtonValue is Mail Them
How do I make that and add a strLogin which is their ID? That is my question.
Code:
Response.write "<input type='checkbox' name='chkEmails' value='" & rs("CONTACT EMAIL") & "_" & rs("CLIENT NAME") & "_" & rs("Password") & "_" & rs("USER ID") & "'>"
...
...
Code:
for j=0 to Ubound(arrEmails)
        arrTemp=split(arrEmails(j),"_")
        strEmail=arrTemp(0)
        strUserName=arrTemp(1)
        strPassword=arrTemp(2)
        strLogin=arrTemp(3)
        ...
        Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old August 17th, 2004, 04:01 PM
Authorized User
 
Join Date: Jul 2004
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Night_Zero
Default

Yes, I actually figured this stuff out but thanks. I still have the error.

Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/adamstuff/test.asp, line 63

Line 63 is the rs.close option. A chunk follows.

    <input type="submit" value="MailThem" Name="MailSubmit">

        Response.write "</form>"

        rs.close <---Line 63

 
Old August 17th, 2004, 05:32 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Let us consider this thread be closed, as it looks so cluttered.

I have replied you on this in your other post that you have initiated. That should solve your problem.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Loop over check boxes sams ASP.NET 1.0 and 1.1 Professional 5 July 17th, 2007 06:26 AM
Check Boxes Allan320 Access VBA 3 June 2nd, 2006 05:45 AM
Using check boxes to filter dstein4d Access VBA 13 January 25th, 2006 07:50 PM
Disable Check Boxes sweet4511 VB How-To 22 July 19th, 2005 03:53 PM
Getting value of Dynamic Check boxes kathryne Classic ASP Databases 3 March 19th, 2004 05:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.