Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding a Combo programatically
Message
From
20/03/2002 22:58:20
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
20/03/2002 17:13:17
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00635187
Message ID:
00635317
Views:
15
>>combo.Requery()
>>combo.Refresh()
>
>Hi Nick:
>
>Thank you for your reponse. I included the requery() and refresh() in the save button, while saving the new entries. regardless, when I went back to the combo to see if the new entry was there, I did not see it. when I closed the form and fired it again, the new entry was in the combo. So how should I handle this? TIA.

You should have a method in your form which populates the combo - the same code you're running from form.load now - and call that again. So just call that code once from .load, and next time from .save, that's all.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform