Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textboxes and calculated fields
Message
De
05/09/2006 16:23:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/09/2006 04:33:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01150822
Message ID:
01151086
Vues:
31
>>Hi!
>>
>>If I put in the controlsource of a column Myview.field*x, I can see the calculation correctly. But If I use the same technique on a textbox, nothing happens. What's the trick to solve this problem ? Is it impossible to use the same technique outside of a grid?
>>
>>TIA
>
>a little VFP bug
>
>
>* the = is the trick
>= Myview.field*x
>* or, better
>(Myview.field*x)
>
Wow, thanks a lot - I didn't know that was possible. I always used the Refresh() event, but that looks clumsy compared to just assigning the ControlSource.
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform