Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to update an edit box?
Message
De
16/07/1999 21:53:29
 
 
À
16/07/1999 17:01:11
Ron Reimers
University of California-Berkeley
Berkeley, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00242590
Message ID:
00242665
Vues:
26
>I have an edit box in a form that leads to another form where the
>record pointer in the database can change. Upon returning to the original form I would like the edit box to be updated to reflect the new position of the record pointer. Refresh won't do it. How does one update somethinh like this?




As Ed said, you can assign when needed.

I'd suggest you can create a New Procedure: Thisform.chgRecord()

AnyTime you move your pointer or select different alias, especially have side effect to need update form shows value..

call the chgRecord() and do all need refreshment or assignment as well!!

But If the combox of Key has controlsource, Don't Re-assign value which may cause 1884 duplicate key error..

Then, your problem will be solved as OOP thm.!
^_~ Good Luck!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform