Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with views.
Message
From
26/03/2000 17:20:33
 
 
To
26/03/2000 11:16:01
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00350529
Message ID:
00350559
Views:
21
>Hi all,
>
>I´m working with two views in my form.One of them, have the ID_Client,LastName,FirstName and the other payments of each client.I created a method called RefreshForm().In this method I put the following code :
>
>LPARAMETERS vNewVal
>THIS.idClient = m.vNewVal
>id_client = ThisForm.idClient
>REQUERY("v_payments")
>thisform.refresh()
>
>When Refreshform() is executed the grid that should be containing all the relationed payments of each client is empty.
>
>I set NoDataOnLoad to .T.in Payments.In the Init() of the DataEnvironment, I put the following code:
>
>
>CURSORSETPROP("Buffering",3,"v_payments")
>SELECT v_payments
>INDEX ON id_payment TAG id_payment
>
>Any ideas ?

Have you tested your view form the command window to ensure that it works the way you think? Find out if the view is returning no records, or if the grid is just not displaying them.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform