Message
From
24/06/2001 21:36:41
 
 
To
24/06/2001 21:23:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00522896
Message ID:
00522921
Views:
10
>Tom,
>
>The limitation is actually 255 characters. If you make a to equal 255 characters the function works. At 256 it fails.
>
>However, if you make the characters different like this:
>
>a=REPLICATE("X",100) + REPLICATE("Y",100)+REPLICATE("Z",100)+REPLICATE("Q",100)
>
>?ATC("Q",a)
>
>Then the ATC command correctly returns 301.
>
>Apparently there is a limitation if the characters are all the same. I'd guess that internalls VFP parses the string to separate 255 length 'sub' stings.
>
>
Hey Doug,

From the docs:
Both cSearchExpression and cExpressionSearched can be memo fields of any size.
It does appear to be a bug...I guess not that many people have had to do case insensitive searches for long strings for it to live this long.
Steve Gibson
Previous
Next
Reply
Map
View