Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting relation in dataenvironment
Message
From
22/09/2003 03:38:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Setting relation in dataenvironment
Miscellaneous
Thread ID:
00830990
Message ID:
00830990
Views:
56
i have an dtr and employee table. both have empno but only employee table has the shift field.

say i have first record in dtr, empno=1234, i'd like to be able to get the shift of empno=1234.

in the dataenvironment, i add dtr and employee. both have indexes on empno, so i was able to drag the empno from dtr to empno of employee.

i have say a simple thisform.caption=employee.shift. but why does the shift always returns to the first record of employee?

i tried reversing the relation, like dragging the empno of employee to empno of dtr. but i still don't get the right value for shift.

what is wrong?
Next
Reply
Map
View

Click here to load this message in the networking platform