Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with views.
Message
From
26/03/2000 11:16:01
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Working with views.
Miscellaneous
Thread ID:
00350529
Message ID:
00350529
Views:
42
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
Next
Reply
Map
View

Click here to load this message in the networking platform