Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array element or field name
Message
From
20/02/2001 16:57:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Array element or field name
Miscellaneous
Thread ID:
00477806
Message ID:
00477806
Views:
55
I’m querying a table. Out of the fields I retrieve I COPY TO ARRAY and read the values like this:

DIMENSION acCursorFields(4)
COPY TO ARRAY acCursorFields
FOR EACH cVal IN acCursorFields
ASCAN(acCursorFields, acCursorFields)
IF ISNULL(cVal)
LOOP
ENDIF
?cVal
** here goes the code I need after I read **
ENDFOR

I need to know the name of each field that have values on, or the element number for those that are NOT NULL
I can’t make it work.
How can I do this?
Next
Reply
Map
View

Click here to load this message in the networking platform