Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Box columns
Message
 
À
28/08/2000 16:15:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00409994
Message ID:
00410102
Vues:
22
>I have a 50 row, five column grid box on a form that I need to have the third and forth columns receive numeric input from the user. My question is how can I make it so the forth column value will be either the same value or a lesser value than the value in the third column entered by the user? I am using VFP 3.0
>

You can directly compare the value of column3 in the valid event of the textbox in column4.
If This.Value <= Thisform.Grid1.Column3.TextBox1.Value
   ** do anything here
Else
   ** do another thing here  
Endif
Or

If you can directly compare the value of the table field in the controlsource you used:
If This.Value <= mytable.amount
   ** do anything here
Else
   ** do another thing here
Endif
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform