Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views in forms
Message
 
To
08/11/2000 12:15:05
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00436512
Message ID:
00439521
Views:
10
John,

>2. There is no default supplier. The user must select a supplier. An add validates for empty supplier ID (control source of comboB) and an edit of the item # clears the supplier ID, forcing a new supplier choice. Yes I could put it in the lost focus of combo A, but I prefer to keep code that affects a control in the control if possible. It makes it easier to find.

How about requery() the view and combo in its own refresh method. Then in the first combo, fresh the form in its lostfocus(). But keep in mind, it is possible to, for example, click a save button on a toolbar without the actual combo loosing focus. I use VFE so this is all done for me, but I think you need to hook into the lostfocus() of the form.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform