Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on multiple lookup comboboxes.
Message
De
12/03/2002 11:31:54
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, États-Unis
 
 
À
11/03/2002 17:46:38
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00629306
Message ID:
00631545
Vues:
24
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform