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. Andy6666uk

    ie displays xhtml source to document

    ie(5.5) is displaying my xhtml page as source. I am using the following declarations: <?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?> <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;>...
  2. Andy6666uk

    Back Button

    How can I make the browsers back button take someone two pages back? thanks, Andy
  3. Andy6666uk

    Form Validation

    perhaps you could try putting some of your variables into hidden fields? <input type=&quot;hidden&quot; name=&quot;name&quot; value=&quot;<%= myVariable %>&quot;> Andy
  4. Andy6666uk

    Subtypes

    Hi there I am having trouble with some arithmetic e.g.: 2 / 60 which should give me: 0.033333333... but the variant I get has the subtype Double: 3.33333333333333E-02 which is no good because I want to turn it into a string. I don't want to convert to an integer, because of rounding up...
  5. Andy6666uk

    Too Few Parameters?

    hi you have to change: DateDiff(d, Date, #&quot; & DateTime & &quot;#) into a field name, you can't use a variable here. Andy
  6. Andy6666uk

    subtypes

    Hi there I am having trouble with some arithmetic e.g.: 2 / 60 which should give me: 0.033333333... but the variant I get has the subtype Double: 3.33333333333333E-02 which is no good because I want to turn it into a string. I don't want to convert to an integer, because of rounding up...
  7. Andy6666uk

    Null values appearing as not null

    hi there I am pulling strings out of the database and then checking to see if they are null or not. I have tried both of the if-then staements below but it still recognises the string as not null even if it is null. if not IsNull(strThis) and strThis <> &quot;&quot; then code end if if...
  8. Andy6666uk

    url

    thats great, cheers
  9. Andy6666uk

    url

    when a page loads how can I get the page's full url into a variable? thanks
  10. Andy6666uk

    I have this code which puts the sel

    I have this code which puts the selection from a list box into a textbox. But I have more than one textbox on the page and want the selection to go into whichever textbox has focus. Any help greatly appreciated. function handleListChange(theList) { var numSelected = theList.selectedIndex ...
  11. Andy6666uk

    textarea &amp; cursor

    hi can you tell me how to get the cursor to go to the top left corner of a textarea when it is clicked in, at the moment the cursor, in my textarea, stays where you click. thanks andy.
  12. Andy6666uk

    xml to text file

    I want to save an XML file made from a recordset. The code below makes a text file but the format is anything but XML, it comes out looking like a mess. Any ideas what I'm doing wrong? <% Set rsPerson = Server.CreateObject(&quot;ADODB.Recordset&quot;) rsPerson.Open &quot;Person&quot;, db Dim...
  13. Andy6666uk

    xml text file

    I want to save an XML file made from a recordset. The code below makes a text file but the format is anything but XML, it comes out looking like a mess. Any ideas what I'm doing wrong? <% Set rsPerson = Server.CreateObject(&quot;ADODB.Recordset&quot;) rsPerson.Open &quot;Person&quot;, db Dim...
  14. Andy6666uk

    sql error

    Hi there I keep getting an error telling me that there are &quot;too few parameters&quot; in the second sql statement below. But the table name and all the db field names are correct. Also the two strings being used are making it to the line of code. Dim oCmd, sql3 Set oCmd =...
  15. Andy6666uk

    adding text to text box

    I want to have names on a page that, if clicked on, will be added to a list of names in a textbox. Could you help me with the code for this? Thanks andy
  16. Andy6666uk

    remove quotes

    I'm afraid I,ve tried these already: strBlah = Replace(strBlah, &quot;, &quot;ANDquot;&quot;) (AND=&) strBlah = Replace(strBlah, &quot;&quot;&quot;, &quot;ANDquot;&quot;) But I get an error, the &quot; in either case is seen as an end or beginning. I was hoping there might be something like...
  17. Andy6666uk

    remove quotes

    How can I remove quote marks from text coming from either the page or the database? Thanks Andy

Part and Inventory Search

Back
Top