PDA

Click to See Complete Forum and Search --> : How do you compare guids?


MagellanTX
Jan 15th, 2003, 11:45 AM
How do you compare two different guids? The compiler is telling me that = is not a valid operator for type guid and type guid.

I am trying a simple if then statement to see if the guids match.

Thanks!

Cander
Jan 15th, 2003, 11:52 AM
if guidvariable.tostring = otherguidvariable.tostring then

MagellanTX
Jan 15th, 2003, 12:01 PM
Thanks! It's the little things that get ya.