Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional Best Practice
Message
De
26/07/2001 11:00:42
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Conditional Best Practice
Divers
Thread ID:
00535738
Message ID:
00535738
Vues:
53
Often I code with logic like the following:
If PemStatus(This.cbo_TypeDesc,'cSourceAlias',5) = .F.
   This.cbo_TypeDesc.mInitSQL
Endif
If PemStatus(This.cbo_MFSystem,'.cSourceAlias',5) = .F.
   This.cbo_MFSystem.mInitSQL
Endif
If PemStatus(This.cbo_Code,'cSourceAlias',5) = .F.
   This.cbo_Code.mInitSQL
Endif
If PemStatus(This.cbo_FullDesc,'cSourceAlias',5) = .F.
   This.cbo_FullDesc.mInitSQL
Endif
It seems redundant. Is there a better way? Thanks!

Regards, Renoir
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform