>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.
use invoice order date in 0
use client order client_id in 0
...
select invoice
set relation to client_id into
...
select invoice
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)