Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on multiple lookup comboboxes.
Message
From
12/03/2002 11:31:54
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, United States
 
 
To
11/03/2002 17:46:38
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00629306
Message ID:
00631545
Views:
29
>>>It was working fairly well except for refreshes. The whole thing is a carryover of old coding practice - the overloaded lookup table. A cloned bizobj just seems wrong.
>>
>>Are you remembering to issue a Requery() to the Combobox after requerying its RowSource?
>
>Yes. The problems occured because both comboboxes were trying to requery the same parameterized view, with different parameters. I adjusted them to do an initial select into their own private array. The default requery/refresh stays on the array, and I can call a couple custom methods to rebuild it if the lookup table changes.


Chris,
To use the same view for 2 combobox's you create arrays and custom methods to refresh them should the lookup view changes. Are you letting the lookup view's BizObj call these custom methods in PostRequeryHook?
I am still confused as to what all this buys you that makes it more attractive than just dropping a second bizobj for the second combobox offers.
Gil Munk


"If a nation expects to be ignorant and free, it expects what never was and never will be." - Thomas Jefferson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform