Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I find out what type of an element array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01610839
Message ID:
01610840
Views:
69
Select firstname, anumber from employees into array attest
IF _TALLY=0
   * No records have been returned by select
ENDIF
>I have an array that I populate while using a select statement:
>
>
Select firstname, anumber from employees into array attest
>
>then I want to execute the following
>
>
append from array attest
>
>only if attest has valid values. I don't want to skip
append from array
if lets say all the elements in the array contain the value .F.
>
>how can check the an element for example attest(1,2) and see if it contain a numeric value or a logical value .F. (if no data was returned from select)
>
>thanks
>Nick
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform