Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two CListObjEdits on same page
Message
De
23/02/1999 14:05:21
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00189689
Message ID:
00190588
Vues:
12
Kevin,

Thanks, that did the trick ... I had to reset the ControlSources for each column after setting the record source, but small price to pay :)

Now if we can just solve the 1:M:M issue .... (looking innocent).

...John

>>I have two different child bizobjs with an associated CListObjEdit on one page of a multi-tabbed page frame (CBizObjMaintenanceForm).
>>
>>Both of them work just fine if they are alone on a page. The minute I put them both on the same page, the grid display for the first one (ZOrder) will only display a single record multiple times and the same number of times as there are records in the second CListObjEdit.
>>
>>(Parent) (Children on Page 2)
>>Projects >> Phases
>> >> Work Orders
>>
>>If there are 2 Phases and 4 Work Orders, the Phase grid will show the first record 4 times. The Work Orders grid is fine. Phases is before Work Orders in the ZOrder.
>
>Hmmm...that *is* odd. If you set a breakpoint in the form and look at the views in the data session window, do they contain the correct number of records? If so, you may want to try setting the RecordSource of the grid to the corresponding view (be aware that this will blow your column's ControlSources out of the water, so you may want to create a backup first before trying it).
John White [MOST]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform