Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Dave Lewis
  Where is Dave Lewis?
 Swansea
 United Kingdom
 Dave Lewis
 To: Craig Moore
  Where is Craig Moore?
 
 United Kingdom
 Craig Moore
 Tags
Subject: RE: Compare variant to string
Thread ID: 50973 Message ID: 50975 # Views: 2 # Ratings: 0
Version: Visual FoxPro 6 Category: General VFP Topics
Date: Tuesday, September 07, 2004 3:12:11 PM         
   


Thanks - transform() did the trick.

> transform() or str()
>
> > I need to compare a value that I'm pulling out of an excel spreadsheet to a string value, but I'm unable to do this when the value in the spreadsheet is a number. If the value is a string it works fine but otherwise it complains with: Operator/operand type mismatch.
> >
> > Is there anyway to compare a value who's type is unknown to a string?
> >
> > Thanks,
> >
> > Dave


ENTIRE THREAD

Compare variant to string Posted by Dave Lewis @ 9/7/2004 3:02:43 PM
RE: Compare variant to string Posted by Craig Moore @ 9/7/2004 3:05:27 PM
RE: Compare variant to string Posted by Dave Lewis @ 9/7/2004 3:12:11 PM