Thanks Everyone that did the trick
DotnetGnat the last bit of code is now putting the value in the email
and I will also remove the plus signs and replace with ampersands like I am supposed to.
If knowledge were power I would be a AAA battery!
Ok here is what I have with no errors I am trying to put the "VALUE" in this line of the email but it never shows my value
MyBody =Mybody & "Product Registered: " + nm(1) & value & vbCrLf
I tried call setOptionsValue() instead of value
<%
function setOptionsValue()
Dim value
SELECT Case...
Ok I used this and I get no errors but when I am sending the email out I don't get the value
<%
function setOptionsValue()
Dim options
SELECT Case request.form("radiogroup3")
Case 0:
value= "Basic"
case 1:
value="with email module"
case 2:
value= "with fax module"
case 3:
value="with...
this is probably so easy it's silly for me to ask but I keep getting errors with the below code what am I doing wrong
<% options= <%if request.form("radiogroup3")="0" then response.write "Basic" Else
if request.form("radiogroup3")="1" then response.write "with print module" Else
if...
Thanks that was simple I was using + instead of & on previous attempts. I guess I need to stop using that.
If knowledge were power I would be a AAA battery!
I tried using
MyBody = MyBody & "Date code was generated: " Date() & vbCrLf
But I get the following error:
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/disttemp/result.asp, line 251
MyBody = MyBody & "Date code was generated: " Date() & vbCrLf...
Trying to send e-mail using CDONTS but I keep getting eeror when I try and add the current date to one of the body lines
MyBody = MyBody & "Date code was generated: " + =date() & vbCrLf
Here is the full code- Thanks for any help
<%
email=session("x_email")
site= sitecode
Machine=...
Here is what I have for the statement
Select Right('00000000' + SID, 8)
From [dbo].[Users]
Order By SID Desc
information is stored as charecters. The above statement adds the leading zeros as it should but I need to sort these values in order and since they are stored as text they still show...
I have a field called SID it is a maximum of 8 characters I need to add leading zeros to the front of the text if it is not 8 characters long Example: 1234 needs to be 00001234 How is this done so that it pulls data in the correct format in a sql query? Thanks for any help you can give.
If...
I have a form with input input fields
1. A drop down box of current customers "ClientSelect"
2. a text field to enter new customers "Clienttext"
3. A hidden field "ClientHidden" Below is the value for this field
<input name="clienthidden" type="hidden" id="clienthidden" value="<% If...
Sorry I thought I had done that but I must not have hit the confirm link to activate it. Thanks Again DotNetGnat
If knowledge were power I would be a AAA battery!
I can never thank you enough for taking this much time and effort with helping me out.
YOU ROCK!
Thanks Again
If knowledge were power I would be a AAA battery!
Bingo! only one small problem I need the license file to read like this
[RTAuth]
kfkfkfk=RTVoiceLines=0048-dddddddddd[Color]
it is putting the text out like this
[COLOR=Red][RTAuth]<BR>kfkfkfk=RTVoiceLines=0048-dddddddddd
how can I get it to add a return after [RTAuth]
If knowledge were...
error at line 132
Error expected ';'
Debugger shows it at
<script>
Sub downloadfile(licensenumber)
Window.Open "mypage.asp?mylicensestring="&licensenumber
End Sub
</script>
If knowledge were power I would be a AAA battery!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.