Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set exact on
Message
 
À
22/05/2008 16:36:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01319075
Message ID:
01319140
Vues:
10
thanks Cetin, this was exactly what i wanted
~M

>>hi all,
>>i have a situation at a customer site where i use the following command
>>
>>SET EXACT ON
>>SELECT * FROM DMB WHERE DMB_BOM = DMBLINK INTO CURSOR PHIL NOFILTER
>>
>>this should select out only records where DMB_BOM = DMBLINK, what it does however is select out all records that start with DMBLINK. I am puzzled by this and added in the set exact on just above the line, it is also set at the top of the prg. i am lost on this, here are the rest of the set parameters from the top of the file. This is a program that i took over and is 8-10 years old
>>
>>SET SAFETY OFF
>>SET EXACT ON
>>SET DATE BRITISH
>>SET STATUS OFF
>>SET DELE ON
>>SET SCOREBOARD OFF
>>SET BELL OFF
>>SET TALK OFF
>>SET CONFIRM ON
>>SET EXCL OFF
>>
>>~M
>
>
SELECT * FROM DMB WHERE DMB_BOM == DMBLINK INTO CURSOR PHIL NOFILTER
>works regardless of "set ansi" setting (set exact has no effect in SQL).
>
>or:
>
SELECT * FROM DMB WHERE DMB_BOM like DMBLINK INTO CURSOR PHIL NOFILTER
>Cetin
Go raibh maith agat

~M
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform