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!

Database/Text File string compare problems.

Status
Not open for further replies.

LucyFur

IS-IT--Management
Jul 8, 2002
3
US
I am having a problem with using the "strComp" function in vbscript. I have two string sources that I am trying to compare and they are never equal when being compared even though I response.write both strings and they are identical. One string is coming from an access 2000 database and they other string is being taken from a .txt file using regex and pattern matching it. I am opening the .txt file as text and I tried using vbTextCompare and vbBinaryCompare with the strComp function and they both dont work. Does anyone have any ideas as to what I might be missing? Thanks in advance.

Lucy Fur
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top