Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relation
Message
From
01/08/2003 17:35:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00816051
Message ID:
00816065
Views:
16
This message has been marked as the solution to the initial question of the thread.
>Oops
>
> I mean by program code

Ah, I see. I assume you want to relocate to Form.Load().

The relationship is from a field (or expression) to an index. Here is an example.
* Open tables
use invoice order date in 0
use client order client_id in 0
...

* Set relations
select invoice
set relation to client_id into 
...

* Establish InitialSelectedAlias
select invoice && Superfluous in this case
In table INVOICE, the ORDER clause is not relevant for the relation.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform