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 bkrike 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: *

  • Users: spacehawk
  • Content: Threads
  • Order by date
  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

    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...
  3. 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?
  4. 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.
  5. 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...
  6. 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...
  7. 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) &...
  8. 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...
  9. 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...
  10. 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?
  11. spacehawk

    Variable Variable Names?

    Is is possible to have a dimensioned variable name like Var(1), Var(2), ... so that you can go through a loop<br>&lt;%<br>For I= 1 to 5<br><br>Response.Write Var(I)<br><br>Next<br>%&gt;<br><br>This format is not working.
  12. spacehawk

    formating e-mail form submission

    I am useing Persits.MailSender to send the contents of a form via e-mail, but the contents are scattered.&nbsp;&nbsp;Is there a simple way to format the e-mail contents like the formatting of the form?
  13. spacehawk

    Keeping up with an array when moving back and forth between pages

    I am writing a function that involves three pages.&nbsp;&nbsp;Selections are made on the first.&nbsp;&nbsp;A 2D array is created on the second page and the first record is filled.<br><br>Then it moves back to the first page for another selection and back to the second page.&nbsp;&nbsp;A second...
  14. spacehawk

    database

    Is there a command in ASP that returns the number of records in a database table?
  15. spacehawk

    Writing script for a search engine

    I have a site that uses one asp page to produce 1100 unique pages from text files and corresponding database info.&nbsp;&nbsp;I would like to develop a search function that would check the text files for the designated word and return a list of corresponding titles (as links) from a database table.

Part and Inventory Search

Back
Top