Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan ... endscan not working properly
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00411108
Message ID:
00411122
Views:
15
>>Why not...
>>
>>
>>use trial
>>go top
>>scan
>>do case
>>    case trial.min_sex = 'F'
>>        replace min_f with .t.
>>        replace min_m with .f.
>>
>>    case trial.min_sex = 'M'
>>        replace min_f with .t.
>>        replace min_m = .f.
>>endcase
>>endscan
>>
>
>even better...
>
>repl all min_f with .T. for min_sex = 'F'
>repl all min_m with .T. for min_sex = 'M'

REPL ALL MIN_F WITH MIN_sex = 'F', MIN_M WITH MIN_SEX = 'M'
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform