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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by aos

  1. aos

    Want to return global variable

    when the radio button is clicked, I want to make the textbox visible. initially the textbox is invisible. i'm using global variable to pass the visibility value. Any ideas where i'm going wrong? Thanks! global variable <%!String vis;%> <%vis = &quot;visibility:hidden&quot;;%> Radio button...
  2. aos

    or statement

    if(!(reportType.equalsIgnoreCase(&quot;U&quot;)) if(!(reportType.equalsIgnoreCase(&quot;UC&quot;))) i want to put this in one statement so it reads; if report type is U or report type is UC Thanks!
  3. aos

    Replace single quote with another character

    but... s.replace('old','new'); however how do I handle that for a single quote ' ? string.replace(''', '`'); any ideas?? thanks
  4. aos

    Replace single quote with another character

    Hi, I'm passing in a string. However the string has an apostrophe(single quote '). When i'm trying to pass this string into a sql statement, sql is reading it as a single quote '. Is there a function in java to replace a single quote with another character. s = (String)hm.get(keyInt)...
  5. aos

    Javascript with jsp

    How do i use javascript validation for jsp page? this is the validation code i have but when i change value in texbox, it wont submit: <form name=&quot;add&quot; method=&quot;post&quot; action=&quot;/GSTS/servlet/com.fidelity.gift.gsts.servlet.GSTSControllerServlet&quot;> <SCRIPT...
  6. aos

    sending values to database

    <%@ language = vbscript%> <%option explicit%> <html> <head> <% Dim First Dim Second Dim EmailAddr Dim dbCon Set dbCon = Server.CreateObject(&quot;ADODB.Connection&quot;) dbCon.Open(&quot;DSN=BISDATA; UID=98038320; PWD=handball&quot;) Sub Details() First=...
  7. aos

    Validating an email address

    Hi! i am trying to validate an email address below. Am i going about it the wrong way? It doesn't recognise a correct email address....any ideas? thanks! If txtEmail.Text <> &quot;&quot; Then Dim iX As Long iX = InStr(1, strAddress, &quot;@&quot;, vbBinaryCompare) If iX Then If InStr(iX...
  8. aos

    Updating information on a FlexGrid

    Hi! I want to update information on a flex grid. Is there any way, that i can click on the cell that i want to update and assign it a new value, someway of overwriting the old value? Thanks! The current code behind the grid is as follows: Private Sub cboRmNo_Click() Dim strrmno As String...
  9. aos

    Images in vb project

    but how do i set the image to the picturebox? thanks!
  10. aos

    Updating a MSHFlex Grid

    Hi! I want to update information on a flex grid. Is there any way, that i can click on the cell that i want to update and assign it a new value, someway of overwriting the old value? Thanks! The current code behind the grid is as follows: Private Sub cboRmNo_Click() Dim strrmno As String...
  11. aos

    Images in vb project

    Hi! How do i add images to a form on vb6.0...any ideas? Thanks!
  12. aos

    Assigning text box value to loop

    Hi! Just wondering how to set the last value in the loop equal to a text box. The loop is as follows: i = 0 For i = 0 To lstDate.ListCount - 1 rs!Date = lstDate.List(i) Next i Thanks!
  13. aos

    Filling combo box

    As it stands, i have code that pulls in data to fill the combo box. The same guest can appear several times (because the guest can be booked for more than one night). How do i get the combo box to pull in the names that are unique to one telephone number? Filling combo box: Dim adoconnection...
  14. aos

    Query problem

    Hi! I want the query to return the rooms available for EACH date between the 2 selected dates. At the moment, the query is only returning the common room that is available for each date (even though each date may have other rooms available). Any ideas - thanks! sSQL = &quot;SELECT...
  15. aos

    search between 2 date pickers-vb

    I'm using VB 6.0. Basically the search i'm tryin to do is when i select 2 dates on 2 date pickers, i want to check to see if rooms are available between those two dates. Thanks!

Part and Inventory Search

Back
Top