I was directed to this script that converts numerical amounts into words using Visual Basic. I'm trying to make some changes to it so that I can use it in ASP/VBScript but with no success. The variable I'm trying to convert and display is CashC1. I'm unfamiliar with functions such as ParsChunk...
Does anyone remeber how to remove the page header and footer in a page so that when I print a report you don't see Page 1 of 2 at the head of the page and the name of the page at the bottom? Example http://172 etc.
I hope someone can help me. I was directed to a script that converts a numeric amount to text. As you can see it's in VB. I want to convert the SQL variable called CashAmount to text. Is there anyone out there that could give me a hand in changing the script so that I can use it in ASP?
set...
Say I have a page that displays the number $456.28. Is there a script that will allow me to convert this to Four Hundred Fifty Six Dollars and Twenty Eight cents? Has anyone seen anything like that?
Does anyone remember how to post to a checkbox field? In Access the field value is Yes/No. I've tried using Request.Form instead of CleanInput but with no success.
Here is how I'm trying to do it but I'm getting a datatype mismatch in criteria error:
Option Explicit
Function...
Is there a way to control print settings on the home server for a web page so that when someone on another PC brings my page up and trys to print it the entire page will be set to fit to page?
Does anyone remember how to flatten the edges of a text box so that they don't appear to be raised? I'm trying to make it that the box doesn't stand out so much on a form.
<input type="text" name="txtBoxNumber_n" size="8" maxlength="7"></td>
I'm able to use the function: application/vnd.ms-excel to open excel on a Windows 2000 machine but on an XP machine it brings up excel but displays no data. Is there a different script for XP?
As you can see below I have a text file that I'm trying to import. What I want to do is rip the customer's box number from the botton line, say 96022 as shown in the text file, and put it at the beginning of each line item for that customer and so on. Below the text file is the script I'm using...
I'm using a CleanInput function to post data to fields in a db table. Everything works fine until I try to post to a memo field. For example, in the case below the memo field "ClientName" is ignored while the rest of the form is processed. Text fields and numerical fields are updated with no...
I have a form that's connected to an Access table. In the table I have a yes/no field called Tran01903. In my form I also have a checkbox called Tran01903. What I'm trying to do is make possible for me to update the table when I either check or uncheck the checkbox in the form. I'm using the...
I'm using the applet below to display data in a pie chart coming from an sql statement. It works up to 5 parameters but the 6th parameter shown below won't showup in the chart. Does anyone have any idea why?
<%
Dim Images, ImageI, Unprocessables, UnProcessed, Return, Returned, Attempt...
I have tow forms one called ReadingTest.asp and the other ReadFile.asp. On the form ReadingTest.asp I have a button that opens a dialog box that allows me to search for a file that I want to import. When I click the import button I call the ReadFile.asp form which processed the selected file...
I've got this script just about done but I can't get my subtotals to work. I posted this a few days ago and got some really good help. All I need is how to get the subtotal to work. Any thoughts out there?
do while not rs.eof
Dim TotalCash, TotalCheck, TotalRemitco
TotalCash...
I've been thinking about using Windows Server for a web app that I'm planning. How difficult is it to use the server as opposed to using IIS in Windows 2000 Pro. Are there any real concerns? For example. Does it create the Inetpub Directory on the local drive?
I found this scipt that uses excel to create a chart. I added a db connection and an sql statement to the form above it. The connection and the sql look like this:
Connection and SQL
'--------------- DB CONNECTION ------------------------------
'-- Declare your variables
Dim Cnt, cmdDC...
I have a form that has six fields. Is there a script that will allow a user to use the enter key instead of the tab key to get from one field to the next and then at the end of the form, fire the submit button?
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.