Sending Percent Signs To Another Page

when sending my search criteria with a percent sign to a page that opens an excel sheet, it doesn't recognize the percent sign

ex. i enter %ABC but the value sent to the next page is just ABC

here is my excel button that sends the info to the next page. how do i handle cases where a percent sign is entered? is it handled in this page or would it be handled in the page that handles the excel? Code:

View Replies


ADVERTISEMENT

Sending Percent Signs To Another Page

when sending my search criteria with a percent sign to a page that opens an excel sheet, it doesn't recognize the percent sign

ex. i enter %ABC but the value sent to the next page is just ABC

here is my excel button that sends the info to the next page. how do i handle cases where a percent sign is entered? is it handled in this page or would it be handled in the page that handles the excel? ....

View Replies View Related

Replacing + Signs To -

Does Anybody Know Howto Switch All Positive Signs(+) For Negitive Signs(-) And Negitive Signs For Positives?

View Replies View Related

Signs Out On Refresh

Im having a little trouble with my ASP Page, basically when your are signed in, if you try to refresh the page it will sign you out, it did it ever since i made this log out text.

<a href="index.asp" onClick="<%session("loggedin")=false session("userid")=""%>">Log out</a>

Ive given it a onClick event so the page wont logout unless its clicked but it still occurs. Help will be appreciated.

View Replies View Related

WriteLine With <% %> And Double Quote Signs

I create an ASP file using fso.createtextfile. But how do I avoid double quotes and <% %signs when writing to file?

FileAsp.WriteLine("<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252">")
FileAsp.WriteLine("<!-- #Include file="file.asp" -->")
FileAsp.WriteLine(" <% =Blah %>")

View Replies View Related

Format Percent With No Decimal Places

Where in the following line of code would i place format percent so that the output is like this
6% (no decimal places just a number and a % sign.

<%
If (lngVotesCast>0) Then
%>
<%=CLng(objRs1("num"))/lngVotesCast%>
<%Else%>
&nbsp;
<%End If%>

I have tried it in various places but i can't get it to work

View Replies View Related

Passing Percent Sign In Querystring

I am passing a sql string thru my querystring for the next page to
capture.

example: www.xxxxxxxx.com/index.asp?str=select * from table where name
like '%doe%'

Passing a basic string works fine. But, when I use the LIKE statement it
does not work. I know it's because of the % sign, so how do I translate
this thru, so that the following page picks up the percent sign?

View Replies View Related

Problems Writing Percent Character

I have written an asp funciton to write a 301 redirect. It gets the file name and the new desitination as arguments. I am doing this for hundreds of files so a script is more accurate than doing it manually and much faster, I thought. Problem is it chokes on the line: Code:

View Replies View Related

Format Percent :: Type Mismatch

I need to display the results of a query as a Percent. The data can be null, so in the query i have isnull(comns,0) Comns. When i use the ASP function FormatPercent i get an error that says type mismatch, is there any way around that error? Code:

View Replies View Related

Formatting Percent And Dealing With Division By Zero Problems

I have some values that I want to display as percent, such as the
retail price/wholesale price. In some instances, the wholesale price
is zero, so I get a division by zero error.

What can I do to avoid this?

Also, how can I get this to only show two decimals, instead of it
going .##### the way it does. I want it to look like .45%

View Replies View Related

Sending Page By E-mail

I'm working on a few intranet pages and have a doubt on how to send e-mails ( i have the aspemail component installed) to outside clients including the invoice for services payment.So differently from Intranet issues where you easily provide a link embeedded on the e-mail, I can't figure how to show the info from outside offices network.
Does anyone knows how to do it? perhaps printingscreen the html page by code and then send to the client as a embedded image or something....?

View Replies View Related

Sending Page Via Email

Is there any simple way of doing this? I want to redirect my end users to a
"results" page that lists the details of their order, but I also want to
e-mail them the exact same think (not a link). All of my end users have
HTML e-mail enabled, and I know that I could just create an e-mail manually.
But, I was curious whether I could do this in a much easier fashion.

View Replies View Related

Sending Mail From ASP Page

I want to send mail from my ASP site but my ISP do not allow local mail servers. How do I do to relay mail through ISP:s mail server?

View Replies View Related

Sending Emails From An ASP Page

I have an ASP page that sends an email using JMail:

set msg = Server.CreateOBject( "JMail.Message" )

It works fine in my local server, but when I send my ASP page to Network Solutions it doesn't work. I guess it is because I can not run the JMail installation program at their server, therefor the object can not be created. Is there another tools I can use instead. Something that doesn't require installation, I guess.

View Replies View Related

Sending A Variable From One Page To Another

What I am trying to do is send a variable from one page to another. Now my first page is setup as follows: Code:

View Replies View Related

Automatically Sending Email From Asp Page

I have a page that allows user input. On click of the submit button I call a javascript function that verifies that all of the fields are filled out and then submits the form. I need to add code after the verification that creates and sends an email. I know how to do this in VBscript, but don't know how to call a vbscript function from a jscript function (is this even possible?).

View Replies View Related

VBScript - Sending From One Page's Textbox To The Next

I have data from page 1 that I want to pass to page 2, either in a querystring or a form. I got that part.

Once I'm on page 2, I can retrieve that data with Response.Form or Reponse.Querystring in the vbscript code I have up in the header, but if I write

Document.Form1.Textbox1.value=response.form("passedData"), nothing happens.

So I thought that the code up in the header doesn't "see" the textbox, because as I dimly understand it, the textbox is client-side and the script is server-side. So then I thought I should put the same line down in the html where the form is defined (enclosed in <% tags). But that triggers an error because the code down there doesn't seem to know what response.form is anymore! I tried using a variable as a go-between, but it didn't change the results.

So how in the world do I get my incoming parameter (whether form or query string) to go and live in a textbox in the target page? I need it there (don't I?) so that I can later pass it along to page three (among other reasons).

In short, I can get strings passed from page 1 to page 2, but then page 2 doesn't seem able to put them into controls or pass them along to page 3.

I have scoured google and forums and seen some responses that involve about 30 lines of code (which I don't understand). Surely it can't be that complicated to pass a string from page 1 to page 2 and then have it available to pass along to page 3.

View Replies View Related

Sending Mail From ASP Page Using CDOS

I'm trying to send mail from my asp page and I get this error:

CDO.Message.1error '80040213'
The transport failed to connect to the server.
/Action_Item/action_items/post_new_action.asp, line 50

I tested it from home and it works fine the my local machine but when I tried to use it on the win2k server at work I get this error.

Here is the code: .....

View Replies View Related

Sending Multilingual Emails From ASP Page

I wrote an ASP code to send email in ENglish and it works fine but when I try to use the same code to create an email message in another language, it doesn't work. (I tried to define the code page also but the email message just displays question marks in outlook express.

View Replies View Related

Sending Data Info With Jmail Page.

I have a SelectBoxes.asp page that is working with multiple selection
dropdown boxes to extract data and total the selection prices.
Tom & Bob were kind enough to give me a big help getting this page
working and it's working just fine, no problems with this page.

However I then would like this data e-mailed using jmail (my host insists
on this method) and that is the function of the sendEMail2.asp page.

This is failing and only giving me a HTTP 500 - Internal server error and
I'm at a loss as to what's wrong. Code:

View Replies View Related

Sending Data To Processor Page For Use In SQL Statement?

I have a form page with a drop down menu of article types that can be submitted. On my processor page where I enter the article, I want to be able to send an email to the person who is responsible for those article types, letting them know a new article has been submitted. I have a table set up in my access database, with an article type and email associated with that which I would like to send an email to.

On my processor page, i would like a SQL statement something to the effect of:

SELECT * FROM table_artemail WHERE art_type = request.form(art_type)

but i can not seem to get it to work.

Also, when I get that working, i plan on using cdonts to send the email. can I just create a variable called "mailto" and have a statement such as: Code:

View Replies View Related

Sending SMS By ASP

I am woundering if I can write a code in ASP to send SMS by communicating with a mobile phone which is connected to the PC ...

View Replies View Related

Sending A Fax From ASP Under XP

I've used the search tool and found several pages regarding sending faxes under ASP, but they all seem to suggest using some internet faxing service.

I don't know if this is possible, and it probably isn't under XP without additional software. (Small company, simple intranet site built on IIS.) I have a PDF form for an agreement for our customers.

Now, I already have a page setup where our reps simply input the customer's email address and it will send the form as an attachment. What I would like to do is make another page where the rep just puts in the customers phone number and it will fax the same pdf to the provided number. Is that possible through ASP on XP?

I've been looking around for some solution and I found this:http://support.microsoft.com/kb/303647 for W2K.

View Replies View Related

Sending Sms

does any one know how to send sms to a mobile phone through a website using asp without using any components.

View Replies View Related

Sending FAX

I am looking for some routines or methods (if available ) in ASP where i can send a fax through ASP by pulling the Fax number of the sender from the DB.We have a Faxserver which is WinFAX.

I saw a few softwares but there is some cost involved in it.If anyone knows how i can send a fax through ASP without paying.

View Replies View Related

Sending Fax

Does anyone know how I can integrate an ASP application (made by myself) with another
application that sends fax? I've seen many programs, but I need something that needs only few code rows so that I can integrate these rows in my ASP pages .....

View Replies View Related

Sending Email

I have a few queries regarding on email. Currently my web hosting provider uses Windows 2003 Server IIS 6.0 to host my ASP websites. In my own PC, I am also currently using Win XP Profession IIS 6.0 to run my ASP files.

I would like to create a pogram that would automatically sent out an email. But the problem is I have know that CDONTS do not work for Windows 2003 Server or XP Professional. It only currently work for Win 2000 Server.

Please help and perhaps show me the code of sending an email out automatically. Is there a code that can work for all servers?

View Replies View Related

Sending An Email From Within ASP

I have a form which will be processed by being sent to an ASP page. I would
like the ASP page to take the data from the Request.QueryString (which I
know how to do) and format it so I can have it emailed to me in a nicer
format. My problem is that I do not know how to have ASP send an email. I
know how to send an email using the mailto: protocol by making it look
something like the following:

MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage

However, this will usually take the user to their default email client and
ask them to send an email by putting the specified subject and message in
for them, but wait for them to do any desired editing and click their send
button. I simply want the email to be sent straight from ASP. Is this
possible?

View Replies View Related

Sending An Email

Can anyone provide me with an example how I can send an email through ASP.NET!

View Replies View Related

Sending Email

I have made a .asp file in order to send email to my Join Bytes!:

<%
Set mail = Server.CreateObject ("CDONTS.NewMail")
mail.To = "email@email.com"
mail.From = "mail@mail.com"
mail.Subject = "email subject"
mail.Body = "email body"
mail.Send
%>

The smtp function have been installed with the IIS, there is no error and the .asp seems running properly but I can't receive any email, any wrong?

View Replies View Related

Sending Email

i have to do a project regarding employee transfer in which sending email to concerned employees yet to be transferred play a pivot role.

View Replies View Related

CDO Not Sending Email

I've been using CDO to send email from my web server for a while now but
today the emails aren't being sent. They are in the queue folder on my
server. I've restarted SMTP service but that didn't work. How can I get
these sent?

View Replies View Related

Sending Mails

I have emails sending no problem on other sections of the site but the following piece wont send

Where email is stored with a email variable from stored procedure i tested it and the value is the.....

Dim RegMail
Set RegMail = CreateObject("CDO.Message")
RegMail.From = "somone@gmail.com"
RegMail.To = email
RegMail.Subject = "ISM Mock Theory Test"
RegMail.TextBody = BodyText
RegMail.Send
Set RegMail = Nothing

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved