Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two CListObjEdits on same page
Message
 
To
20/02/1999 16:46:20
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00189689
Message ID:
00190243
Views:
12
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).

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform