Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to update an edit box?
Message
From
16/07/1999 21:53:29
 
 
To
16/07/1999 17:01:11
Ron Reimers
University of California-Berkeley
Berkeley, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00242590
Message ID:
00242665
Views:
20
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform