Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Iterating through columns
Message
De
30/05/2010 13:32:34
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Iterating through columns
Divers
Thread ID:
01466580
Message ID:
01466580
Vues:
94
Can FOR EACH be used to iterate through all columns in a grid? I get the error "Property loGrid is not found", when I use the following code:
loGrid = ThisForm.PgfPageFrame.Page1.GrdGrid
FOR EACH loColumn as Column IN loGrid
	WAIT WINDOW loColumn.Name TIMEOUT 1
NEXT
The debugger confirms that loGrid.BaseClass = "Grid".

TIA,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform