#DEFINE TABLE2_NAME table2 #DEFINE INDEX2_NAME myOrder set relation to ( INDEX2_NAME ) into ( TABLE2_NAME )>I have two tables, contained in a DBC, that I'm trying to set a relation between.
>open database myDB1 share >use myDB1!table1 order indexorder share in 0 >use myDB1!table2 order myOrder share in 0 >>
>select table1 >set relation to myOrder into table2 >>
>#DEFINE TABLE2_NAME 'table2' >#DEFINE INDEX2_NAME 'myOrder' > >set relation to ( INDEX2_NAME ) into ( TABLE2_NAME ) >