Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array element or field name
Message
De
20/02/2001 16:57:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Array element or field name
Divers
Thread ID:
00477806
Message ID:
00477806
Vues:
54
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform