Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid does not show data
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Grid does not show data
Divers
Thread ID:
00829488
Message ID:
00829488
Vues:
57
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?
Répondre
Fil
Voir

Click here to load this message in the networking platform