Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strtran() in SQL where clause
Message
From
28/08/2002 10:26:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/08/2002 10:07:41
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00694135
Message ID:
00694439
Views:
15
>Thanks, this is a good explanation for the reason why this index did not work. I did not know this!

First time I see it with strtran(), though. Problems usually appear when creating an index alltrim(SomeField).

Of course, any expression of variable length can be a problem.

As Jim pointed out, the index is internally of fixed length - the problem is that VFP uses the value of the first record it encounters (the first record in the table?) to determine the exact length of the index expression.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform