Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid does not show data
Message
From
16/09/2003 12:39:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Grid does not show data
Miscellaneous
Thread ID:
00829488
Message ID:
00829488
Views:
58
I created a cListobjedit form called 'Dataentry form' that is launched from a CListobjedit grid (lseclaim) on CBIZobjNoListMaintForm. The grid (lseclaim)is papulated from a business object called 'claimobj'which is child to 'Batchobj'on page 1 of CBIZobjNoListMaintForm.

Now on cListobjedit form('Dataentry form'), I created three pages. These show the data correctly to be edited from 'claimobj'. Since the class form has data session set to 1 -Default data session". So no Business object is needed on this form. But I want to papulate a grid on this form from some other view so I created a grid from clistobjedit called 'servicegrid'. ceditform = 'Serviceform'. The business obj is 'serviceobj' to papulate it. My problem is that

1. when I go to page 2 to look at the grid, 'it doesnot get papulated'. but if I press add button, it opens the 'serviceform' where I can enter the new record easily.

I have done the following

1. lseservice - In postinithook of I wrote
This.ChangeBizObj(This.Parent.serviceobj1)
2. Clistobj1- lenabled = .F., nrequerytype = 3, postinithook
This.AddViewParameter('vp_claim_num', 'v_batchclaim.claim_num')
This.ChangeBizObj(This.Parent.serviceObj1)
3. Grid column are given correct control source property.

I want to accomplish that when the 'Dataentry form' opens it should show the claim from 'claimobj' and the grid on it should show the corresponding data from 'service' view. service table is linked to claim table. Since 'claimobj' is not on the same form as 'serviceobj'so serviceobj can not be child to claimobj. I am using addviewparametrs to get it. Please guide me about how to automatically papulate the lseservice grid?
Reply
Map
View

Click here to load this message in the networking platform