Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the syntax of SCATTER EXCLUDE?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01526095
Message ID:
01526100
Views:
74
>>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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform