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 ?
Thanks in advance