General information
Category:
Coding, syntax & commands
Title:
Array element or field name
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only