Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug: DE memberCount or equal property it is lacking
Message
 
 
À
27/10/2004 06:03:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00954804
Message ID:
00954871
Vues:
24
Fabio,

Since the DE.Objects is a collection it natively has a Count property.
? detest.dataEnvironment.Objects.Count
Just like the form Objects collection:
? detest.Objects.Count
>Previous issue Thread #952371
>
>Bug/Issue : 5 of 27
>
>TITLE: Bug: DataEnvironment memberCount or equal property it is lacking
>
>VERSION: 09.00.0000.1720 and previous
>
>Note:
>the DataEnvironment class have the Objects collection,
>then
>- for enumerate the objects i can use only:
>
FOR EACH ...
>- i cannot directly to use
>
FOR index=1 TO ...
>- if i want the count of the objects i have to do
>( workaround into a _Access method )
>
>objectCount = 0
>FOR EACH obDE IN m.de.objects
>    objectCount = m.objectCount + 1
>ENDFOR
>? m.objectCount
>
>- if i want to known if a member exists
>
TYPE("m.this.objects")
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform