Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. FontanaS

    Adding A Web Site In IIS 6.0

    Hello, I am having diffuculty setting up a web site in IIS 6.0 on Microsoft Windows Server 2003 R2 Standard Edition, Service Pack 1. I opened IIS and added a new application pool. I then added a new web site. I added a new virtual directory under the new web site added from above. I set web...
  2. FontanaS

    Making A Column In A Table A Fixed Length

    Hello, Is there a way to have a column in a table a fixed length? Ex - say I want the first column to be 400 and the next column to be 200. <table border="0" width="600"> <tr> <td><u><b><font face="Tahoma" size="2">Line Item</font></b></u></td> <td><u><b><font face="Tahoma"...
  3. FontanaS

    Making Sure User Entered Number - Put 0 If A Letter

    Hi! I have the following function that takes the fields and does calculations with them to get a total. The problem is that someone put in a word instead of a number and the program errored out. I would like to check for a number. If it is a number - do calculations, if not a number - put a...
  4. FontanaS

    Checking Field To Make Sure User Entered A Number

    Hi! I have a quantity field where the user types in how many they purchased of an item. Well someone yesterday actually wrote - "Five" and not "5". So now I need to check to make sure it is a number. Is there a function that allows this? THANKS! The field is - IF...
  5. FontanaS

    Format Field To Text When Downloading Into Excel

    Hi, I am downloading a report automatically into excel. There is one field that is causing me a problem. It is a text field in the database but some of the values start with a 0 (zero). When it is inserted into excel the 0 (zero) dissapears. I can't find a FormatText function. Is there a...
  6. FontanaS

    Formatting A Currency Amount

    Hi! I have a function that automatically updates a field on my form after doing calculations. I only want two numbers after the decimal place. <!--FUNCTION TO CALCULATE THE TOTAL AMOUNT--> <script language="javascript"> function calctotal() { lvShip =...
  7. FontanaS

    Updating Multipe Rows of Data To Database Problem

    Hi! I have the following table on a form that displays multiple rows - <%Cmd = "SELECT * FROM Tbl_Orders WHERE OrderCcUser = '"&Session("UserSessionUserId")&"' AND OrderMarkedAsSubmit = 'No'" SET RsReq = CreditCardDb.execute(Cmd)%> <td align="left"><font face="Tahoma"...
  8. FontanaS

    Passing Value To Another Form Question

    The main form was too complicated and I couldn't get it to work on the main form. When i created its own form it worked fine. Just need to figure out how to get that value,
  9. FontanaS

    Passing Value To Another Form Question

    Hi! I have the following code on one form - <script type="text/Javascript"> window.opener.document.getElementById('OrderFile1').value = document.frmSend.attach1.value; </script> The result is that the OrderFile1 value stays blank and there is no value in it. The value i am trying to pass is...
  10. FontanaS

    Retrieving A Value From A Form

    I have the following code that will set the value on the form to another web page text box that is open. <!--ASSIGN UPLOAD VALUE TO THE PARENT FORM--> <script type="text/Javascript"> VAR lvvar = ????????????????????????????????; window.opener.document.getElementById('OrderFile1').value =...
  11. FontanaS

    Passing A Variable To Another Web Page

    I have been playing around and got it work mostly. <!--FUNCTION TO SAVE AND UPLOAD THE FILES CHOSEN--> <%FUNCTION SaveFiles Dim Upload, fileName, fileSize, ks, i, fileKey, lvvar Set Upload = New UploadFilesCode Upload.Save(uploadsDirVar) 'IF SOMETHING FAILS INSIDE THE SCRIPT, BUT...
  12. FontanaS

    Passing A Variable To Another Web Page

    Hi, I keep getting an "object does not support this method or property. Here is the code in the parent - <td align="center"><input id="OrderFile1" type="text" size="30" maxlength="250" name="OrderFile"></td> Here is the code in the child - <!--FUNCTION TO SAVE AND UPLOAD THE FILES CHOSEN-->...
  13. FontanaS

    Passing A Variable To Another Web Page

    Hi! I have the following code that will reload the parent web page and close the child web page - <script type="text/Javascript"> opener.location.reload(); window.close("http://172.26.104.141/CreditCard/UploadFiles.asp"); </script> This code is in the child web page and works fine. The...
  14. FontanaS

    Href Question - Setting Height And Width

    I have the following code that creates a link to another web page - <a href="UploadFiles.asp" target="_blank"><font face="Tahoma" size="2">Upload File</a></font> Is there a way to add the height and width of the new web page when it opens? Or do i have to set the height and width variables...
  15. FontanaS

    Refresh Web Page Question

    <!--NOW OPEN UP THE PDF FILE WEB PAGE AUTOMATICALLY--> <script type="text/Javascript">window.open("http://172.26.104.141/CreditCard/PdfOrdersNew.Asp", null); window.location = "http://172.26.104.141/CreditCard/MainMenu.asp"; </script> How do I add - window...
  16. FontanaS

    File Upload Question

    Hi! I Have The Following Filed In My Form - <td align="center"><input type="file" name="OrderFile3" size="40" value="<%=Request.Form("OrderFile3")%>"></td> I know that when you have a file type you need - ENCTYPE="multipart/form-data" in the form heading. The problem is that when i put that...
  17. FontanaS

    Opening Web Page Problem

    I have the following code - <!--NOW OPEN UP THE PDF FILE WEB PAGE AUTOMATICALLY--> <script type="text/Javascript"> window.open("http://172.26.104.141/CreditCard/PdfOrdersNew.Asp", null); </script> <!--REDIRECT THE USER TO THE MAIN MENU--> <%response.redirect("MainMenu.asp")%> The problem...
  18. FontanaS

    Adding Variable To Close function

    I tried the following but still get an "object required" error - <!--FUNCTION TO RESET THE SESSION VARIABLE--> <script language="javascript"> function changevalue() { <%=Session("CanEdit")%> = 'False'; } </script>
  19. FontanaS

    Adding Variable To Close Window Statement

    I have the following code that closes a window. - <td align="right"><a href="javascript:void(0)" onclick="window.opener=self;window.close();"><font face="Tahoma" color="#000080" size="4"><b>Close</b></font></a></td> The problem is that I want to add - Session("CanEdit") = "False" so it...
  20. FontanaS

    Adding Variable To Close function

    I have the following code that uses javascript to close a window. - <td align="right"><a href="javascript:void(0)" onclick="window.opener=self;window.close();"><font face="Tahoma" color="#000080" size="4"><b>Close</b></font></a></td> The problem is that I want to add - Session("CanEdit") =...

Part and Inventory Search

Back
Top