Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Value for textbox put not update when appending
Message
De
31/03/1999 11:34:42
 
 
À
31/03/1999 11:30:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00203932
Message ID:
00203933
Vues:
19
>I have a textbox for inserting the value of Year. And I have put the value of the textbox through
>
>thisform.txtYear.value = year(date())
>
>in the Form Init. However, if I don't get focus to the textbox (even with the "1999" value display) , my Year field won't get updated.
>
>Please point me to this problem.
>Thanks.
>
>Gan

Textbox.Controlsource will get updated when textbox loses focus (it seems to be part of internal code behind lostfocus event), so if you want to update field on your own discretion, you may issue when it's necessary:
REPLACE myyear With year(date()) In mytable
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform