I am testing on how to bring a new field from another table into a form, using a method.
display ItemName testme2()
{
InventTable inventTable;
ProdCalcTrans PCT;
;
return (select firstonly ItemName from inventTable
index hint ItemIdx
where inventTable.ItemId == PCT.Key1).ItemName;
}
There are no errors or warnings returned when compiled. Although the same query works in another method, the one above returns no values.
Any ideas why?
Thank you,