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 Chris Miller 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. roywills

    perl, create array from all returned mysql rows

    i am havin a bit of trouble with a report I am trying to generate. I have 2 databases on 2 seperate mysql hosts. Database 1 holds monitoring info and Database 2 holds account info (again, these are 2 different mysqwl hosts). What I am trying to accomplish is being able to sort by the account_id...
  2. roywills

    Check if variable contains certain data

    I am trying to determine if a varaible is defined and if it also certain data. I am using the defined function to test if it is set, but am having trouble finding a way to test if it contains a certain word anywhere in te variable. Can anyone offer any insight on this?
  3. roywills

    Logging

    ok, the window that pops up when there i an issue with your vbscript, is there a way to capture this toe the event log as an error? Basically, i want to know if the script has any issues running and since i get alerted on errors in event log that would be ideal.
  4. roywills

    objFile.DateCreated

    Thanks so much Jet042! It pointed out the errors in my ways. My last post will not work as I did not take into account if the day is only 2 characters. I have modified to be this: ----------------------------------------------------------- For Each objFile in colFiles modDateFull =...
  5. roywills

    objFile.DateCreated

    I may have fixed this myself, though most likely not as elegant as some could have. here is what i have now to get just the creation date of a file with dashes instead of slashes!: modDateFull = objFile.DateCreated modDateNum = Replace(modDateFull,"/","-") modDate = Left(modDateNum,9)...
  6. roywills

    objFile.DateCreated

    OK, i am using the createDateFull = objFile.DateCreated to get the date/time files are created in one directory. However, it seems that if the date is say 08/23/2007 it grabs it as 8/23/2007. My question is: How can i make it use the leading zero in the variable?

Part and Inventory Search

Back
Top