Hi!
Here is a clue. In Command Window:
SELECT 2
USE CUSTOMER && Fields custid,custname
INDEX ON CUSTID TAG CUSTID
SELECT 1
USE INVOICES && Fields invid,custid
SET RELATION TO CUSTID INTO CUSTOMER
INDEX ON CUSTOMER.CUSTNAME TAG NAME
BROWSE FIELDS INVID,CUSTID,CUSTOMER.CUSTNAME
All seems work ok., but how can I do this in a form. If I put this in a DATABASE, There is a find error of NOT FOUND CUSTOMER TABLE. How can I drive the DATABASE and the Data Environment?. Besides, when a change is made in customer table, it doesn't update the invoice index.
Thanks
JLucio
Here is a clue. In Command Window:
SELECT 2
USE CUSTOMER && Fields custid,custname
INDEX ON CUSTID TAG CUSTID
SELECT 1
USE INVOICES && Fields invid,custid
SET RELATION TO CUSTID INTO CUSTOMER
INDEX ON CUSTOMER.CUSTNAME TAG NAME
BROWSE FIELDS INVID,CUSTID,CUSTOMER.CUSTNAME
All seems work ok., but how can I do this in a form. If I put this in a DATABASE, There is a find error of NOT FOUND CUSTOMER TABLE. How can I drive the DATABASE and the Data Environment?. Besides, when a change is made in customer table, it doesn't update the invoice index.
Thanks
JLucio