Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Smoothing the code
Message
De
26/08/2006 12:13:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01148816
Message ID:
01148826
Vues:
13
This message has been marked as the solution to the initial question of the thread.
local lnColumn, lcVariable
for lnColumn = 24 to 11 step -1
  lcVariable = "mx" + transform(lnColumn,'@L 99')
  if evaluate(lcVariable) > 0
    ThisForm.Grid1.DeleteColumn(lnColumn)
  endif
next
>thanks tore helpful reply,
>just i have other problem.
>lcVariable = "mx" + transform(lnColumn)
>
>i have 1 to 24 Columan, but 01 to 09( with 0)
>so "mx" + transform(lnColumn) result mx9 it should be mx09,
>thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform