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

    passing on variables

    Is it possible to set a value of a variable in a javascript function and then use that variable in your asp code? How do you do that?
  2. spacehawk

    checking browser type and version

    Thanks a lot. That is great!
  3. spacehawk

    checking browser type and version

    What about the version number check? Our problem is that Netscape 6 does not do a lot of the things earlier netscapes did. We just don't use it, but apparently some of our users do. We are trying to redirect it, but not the older Netscapes. Thanks,
  4. spacehawk

    checking browser type and version

    Can anyone find the problem in this code? <% Set bc = Server.CreateObject(&quot;MSWC.BrowserType&quot;) If bc.browser = &quot;Netscape&quot; AND bc.version >= &quot;5.0&quot; then Response.Redirect(&quot;defaultie.asp&quot;) End if If bc.browser = &quot;Microsoft Internet...
  5. spacehawk

    e-mail to group

    I am writing a script to send e-mail to all people registered on our site. They are listed in an access database. I collect the data into an array. I am stuck beyond that. Anybody have a script that will take the data and send the message to each one in the list?
  6. spacehawk

    Closing Window

    Is there an asp command that will close the current window? I don't want to click to close it, I just want it to close automatically when it reaches this point in the page.
  7. spacehawk

    carrying variables over more than 1 ASP page

    You can also use hidden inputs in your form. <% password=request.querystring(&quot;password&quot;) %> <input type=&quot;hidden&quot; name=&quot;password&quot; value=&quot;<%=password%>&quot;> As long as there is a form on each successive page, this works fine. This is really an html solution...
  8. spacehawk

    Session Variables

    I have a working site that authenticates users with a session variable. We just set up two new servers with W2K and moved the site to both. One works fine, the other loses the session variable and will not authenticate pages so they can be opened. I used a response.write to test that the...
  9. spacehawk

    error handling routine

    When users enter text with , or ' in a form they get an error message and the database does not update.&nbsp;&nbsp;Can I write a simple error handling routine that looks for the characters that are not allowed and replaces them with characters that will work?<br><br>Could anyone get me started...
  10. spacehawk

    Cannot recognize variable as blank

    Thanks.&nbsp;&nbsp;The IsNull and not IsNull worked.&nbsp;&nbsp;I have it going like I want now. <br><br>I am using the 2D array to get the fields from the first record as List(0,0), List(0,1), List(0,2), List(0,3), etc.<br><br>I like the idea of the if then with the IsNull choice.&nbsp;&nbsp;I...
  11. spacehawk

    Cannot recognize variable as blank

    Thanks everyone for all the quick responses.&nbsp;&nbsp;It finally responded to the Not IsEmpty call.&nbsp;&nbsp;It selected the &quot;then&quot; choice for If Not IsEmpty(List(h,2)) Then.&nbsp;&nbsp;However, there is nothing in the record in the table.&nbsp;&nbsp;When I do a...
  12. spacehawk

    Cannot recognize variable as blank

    Thanks guestg,<br><br>I tried your suggestion.&nbsp;&nbsp;It stil returned the else choice, so I added:<br><br>Response.Write(Len(list(h,2)) & &quot;&lt;br&gt;&quot;)<br><br>It returned a blank.&nbsp;&nbsp;I'm not sure what that means.
  13. spacehawk

    Cannot recognize variable as blank

    I have a table from which I select all records and place the fields into an array using a do while loop.<br><br>To process them I need to know whether List(h,2) is blank.<br><br>I put the following code in:<br><br>If List(h,2)&lt;&gt;&quot;&quot; Then<br> Response.Write(List(h,0) & List(h,1) &...
  14. spacehawk

    Variable losing its value

    palbano,<br><br>You were right in your first assumption.&nbsp;&nbsp;The next time I use RS(&quot;comments&quot;) it returns nothing.&nbsp;&nbsp;I got around the problem by using<br><br>TempData=RS(&quot;comments&quot;) and then using TempData everywhere that I had used RS(&quot;comments&quot;)...
  15. spacehawk

    Variable losing its value

    I have a table with a column named comments.<br><br>I select a record and use RS(&quot;comments&quot;) to get the value of comments in that record.<br><br>The line<br>Response.Write(RS(&quot;comments&quot;)) returns the value in the table.<br><br>But if it put the...
  16. spacehawk

    The Update Command

    Thanks.&nbsp;&nbsp;I had figured a way around it by deleting the old record and then inserting the information as a new record, but I would much rather just update it.<br>
  17. spacehawk

    The Update Command

    I am writing a program to take information from teachers who use our Ed. web site. I also want them to be able to update their info when they return.<br><br>I use asp and an access database on an NT4.0 system.<br><br>For putting in new info:<br>Set RS = objConn.Execute(&quot;INSERT INTO Schools...
  18. spacehawk

    changing the appearance of the cursor

    How do I make the cursor display as an image I send from my site when someone points at a link and as a different image from my site when they move off the link?
  19. spacehawk

    Variable Variable Names?

    Thanks,<br><br>I tried this and it still didn't work for my situation.&nbsp;&nbsp;I have the array variable in a request.form as in request.form(var(i)).<br><br>I can <br><br>response.write(i)<br><br>with i=1 and the output is 1 but when I <br><br>response.write(request.form(var(i))) <br><br>it...
  20. spacehawk

    formating e-mail form submission

    I'm not familiar with the IsHTML command.<br><br>Do you know of a tutorial about it?<br><br>Where would I put it?

Part and Inventory Search

Back
Top