By using the masterSource property to create master-detail relationships you do not need an index, although it would improve performance. You might choose to use the masterSource property when

You can improve performance, for example, in cases where large BLOB fields would be copied to temporary files

You are working with client/server databases

You are working with a one-to-many relation in a form, and you want the form to be updateable

You want the order of the "many" table to be different from that of the linked fields.

To create a master-detail relationship by using the masterSource property,

  SELECT * FROM ORDERS WHERE ORDERNO = :ORDERNO

assuming that ORDERNO is the exact field name in the table.