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 gkittelson 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. billyt27

    Select Box doubles

    ok, here ya go, but there are some conditions. you must have a form tag. i assume you do, but you didn't show it in your code. you must use the value parameter on your option tags. if you change the name of the form, make sure you change the doucment.frmtt referenece in the ReRoll...
  2. billyt27

    Select Box doubles

    since your Value is the same as your Option, you could do it this way: Do while not rs.eof str=str & &quot;<option&quot; if lcase(rs(&quot;race&quot;))= &quot;human&quot; then str=str & &quot; selected&quot; str=str & &quot;>&quot; & rs(&quot;race&quot;) & &quot;</option>&quot...
  3. billyt27

    Select Box doubles

    you could run into a problem if your 'races' have single or double quotes in them. if that is the case, replace the line: str=str & &quot;<option value='&quot; & rs(&quot;race&quot;) & &quot;'&quot; with: str=str & &quot;<option value=&quot; & chr(34) & rs(&quot;race&quot;) & chr(34)
  4. billyt27

    Select Box doubles

    howdy, here is what i would do: <select NAME=&quot;cmbRaces&quot;> <% dim str str=&quot;&quot; Do while not rs.eof str=str & &quot;<option value='&quot; & rs(&quot;race&quot;) & &quot;'&quot; if lcase(rs(&quot;race&quot;))= &quot;human&quot; then str=str & &quot; selected&quot...
  5. billyt27

    How to use VB 6.0 to develop ASP Pages

    you were close. you need to pass the user id and password to your com object. here is how i would modify your LoginVerification.asp file: <%@ Language=VBScript %> <% 'Varibles to establish Oracle Connection Dim objVerifyLogin Dim strHTML Set objVerifyLogin =...
  6. billyt27

    Adding Entries into Access From Check boxes

    hi, i will try to answer this. if you create your checkboxes with different names, such as <input type='checkbox' name='chkBox1' value='Y'>, <input type='checkbox' name='chkBox2' value='Y'> and so on, you can reference them by their name. here is an abbreviated example, con.open strConnect...
  7. billyt27

    VBscript &amp; Server-side include

    hi, the include files must exist, even if the logic you have will not use the include file. iis reads the entire page into memory first, including all the include files, then parses it. you could generate a blank file for the ones you don't need. i have heard the asp.net fixes this problem...
  8. billyt27

    Drop Down List Question

    in response to the empty select option, i would put the empty one at the bottom of the select list, just for appearances sake. for example: <select name=&quot;currentrecord&quot;> <option value=&quot;Y&quot;>Y</option> <option value=&quot;N&quot;>N</option> <option...
  9. billyt27

    How to use VB 6.0 to develop ASP Pages

    hi, here is a simple example, assuming you have com object installed with a function named test: ---------------------------------------- set obj=server.createobject(&quot;comobject&quot;) obj.test request.form set obj=nothing ---------------------------------------- don't forget...

Part and Inventory Search

Back
Top