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 KatherineF

  1. KatherineF

    SQL side validation

    do you have any ideas how to implement this validation? Thanks.
  2. KatherineF

    SQL side validation

    --- Are the input parameters literally column names from a specific table? Yes, they are. @FieldName and @Value are columns (varchar) in table called "Table1". The page I am working with displays one label and one textbox (label - @FieldName from "Table1", textbox value - @Value from...
  3. KatherineF

    SQL side validation

    I need to check data types of values that have been entered from UI. I am going to create a stored proc that will take two parameters (@FieldName, @Value) I have a table where I can get data types for @FieldName from. SELECT @FieldType = FieldType FROM TableName WHERE FieldName = @FieldName So...
  4. KatherineF

    regular expressions pattern

    I need to write a pattern to locate all files missing a word, for example, "test". I gonna use this pattern in a search tool in order to find these files under specified directory. Thanks.
  5. KatherineF

    please check why it's not working

    I don't need a number of elements in an array, I need an element's length in that array
  6. KatherineF

    please check why it's not working

    I think something wrong with this part: zipcode_fields[i].length is this a correct way to access array elements' length??
  7. KatherineF

    please check why it's not working

    i seems like this piece of code is fine
  8. KatherineF

    please check why it's not working

    var valid = "0123456789-"; var hyphencount = 0; var zipcode_fields = new Array(2); zipcode_fields[0] = document.form.fld_ZipCode.value; zipcode_fields[1] = document.form.fld_ServiceZipCode.value; for (var i=0; i < zipcode_fields.length; i++) if...
  9. KatherineF

    please check why it's not working

    if ((document.form.fld_ServiceClass.value=='') && (document.form.fld_OfferCode.value=='')) { alert('Either Offer Code or Service Class has to be filled in!'); event.returnValue = false; } // ZipCode Check var valid = "0123456789-"; var hyphencount = 0...
  10. KatherineF

    please check why it's not working

    var valid = "0123456789-"; var hyphencount = 0; var zipcode_fields = new Array(2); zipcode_fields[0] = document.form.fld_ZipCode.value; zipcode_fields[1] = document.form.fld_ServiceZipCode.value; for (var j=0; j < zipcode_fields[i].length; j++) temp = ""...
  11. KatherineF

    function to populate combobox

    I am wondering what will be a good way to change the function to populate combobox (add a default value to be selected). The function I have now is used a lot within an application. Since VBScript does not support optional arguments to be passed to a function I don't want to break a lot of...
  12. KatherineF

    td/tr hover

    thank you! it works!
  13. KatherineF

    td/tr hover

    I have this menu and would like to make hover works for tr also. Could you please help me with this. <style> #menuright a:link, #menuright a:visited { background: #ccc; font-size: 10px; font-family:verdana, palatino, georgia, arial, sans-serif; line-height: 22px...
  14. KatherineF

    draw menu

    yes :)
  15. KatherineF

    draw menu

    SP returns: MenuID ParentID Text LevelID 1 0 Menu Option1 0 3 1 Sub1_1 1 4 1 Sub2_2 1 5 0 Menu Option2 0 3 5 Sub2_1 1 4 5 Sub2_2 1 How to get this table using VBScript: Menu Option1 Menu Option2 Sub1_1...

Part and Inventory Search

Back
Top