Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the syntax of SCATTER EXCLUDE?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01526095
Message ID:
01526101
Vues:
71
>>>I am having a touph time creating an array using SCATTER that would exclude a field. For example, say I want to exclude field MYPKFLD, I tried the following:
>>>
>>>
>>>SCATTER MEMO FIELDS EXCLUDE MYPKFLD TO MyArray
>>>
>>>
>>>Then I check the value of MyArray in the debugger and it has the element and value for field MYPKFLD. What am I missing?
>>
>>This works and create an array one field less than actual structure:
>>
>>SCATTER FIELDS EXCEPT code TO laTest memo
>
>I just repeated the syntax exactly as you did but my array still have the element for the field CODE that should be excluded. Of course I used my field name.

Just a guess, but does this work?

SCATTER FIELDS * EXCLUDE MyPKFLD TO MyArray

or this?

SCATTER MEMO FIELDS * EXCLUDE MyPKFLD TO MyArray
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform