Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug ? or am I missing something ?
Message
De
29/06/1998 02:51:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00111621
Message ID:
00112393
Vues:
21
>>Now, this would apply to whom that uses collate sequences.
>>Config.fpw :
>>codepage=1254 && Turkish windows
>>collate=TURKISH
>>
>>-create a table
>>-index on a field
>>-enter some values to that indexed field ie: 5 records all "John Smith"
>>select * from mytable ;
>>  where myfield = "John Smith" &&Displays only one record
>>? _tally   && Prints 0
>>set collate to "MACHINE"
>>select * from mytable ;
>>  where myfield = "John Smith" &&Displays all
>>? _tally   && Prints 5
>>set collate to "TURKISH"
>>* Same as above _tally = 0
So what could I be missing ????
>>Cetin
>
>Cetin,
>
>I tried this in 5.0a SP3
>
>CLOSE DATA ALL
>SET SAFETY OFF
>
>CREATE TABLE TEST (cName C(20))
>USE TEST.DBF EXCL
>
>FOR i = 1 TO 10
> INSERT INTO TEST VALUE ("John Smith")
>ENDFOR
>
>SET COLLATE TO "GENERAL"
>INDEX ON cName TAG Name
>
>SELECT * FROM TEST WHERE cName = "John Smith"
>? _TALLY && returns 10
>
>SELECT TEST
>SET COLLATE TO "MACHINE"
>DELETE TAG ALL
>INDEX ON cName TAG Name
>
>SELECT * FROM TEST WHERE cName = "John Smith"
>? _TALLY && returns 10
>
>So everything seems fine on my side. But I can't set COLLATE TO "TURKISH". This generates an error. My FOXPRO.INT file must be too old (21/08/96).
>
>José
Thanks Jose,
I don't have SP3 and it seems to be the problem.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform