Use the following code to add dynalink to the form datasource query:
public void init()
{
super();
this.query().dataSourceTable(tableNum(MzkPurchTrackingDetailsTable)).clearDynalinks();
this.query().dataSourceTable(tableNum(MzkPurchTrackingDetailsTable)).addDynalink(
fieldNum(MzkPurchTrackingDetailsTable, PurchId),
PurchParmTable,
fieldNum(PurchParmTable, PurchId));
}
Where,
- First parameter is the source table field
- Second parameter is the destination table
- Third parameter is the destination table field
Tidak ada komentar:
Posting Komentar