static void CustTransDetails(Args _args)
{
CustTable custTable;
CustTrans custTrans;
int i;
while select AccountNum from custTable
{
i++;
while select AccountNum,TransDate,Voucher from custTrans
where custTrans.AccountNum == custTable.AccountNum
{
info(strFmt("%1,%2,%3,%4",i, custTable.AccountNum,custTrans.TransDate , custTrans.Voucher));
}
}
}
{
CustTable custTable;
CustTrans custTrans;
int i;
while select AccountNum from custTable
{
i++;
while select AccountNum,TransDate,Voucher from custTrans
where custTrans.AccountNum == custTable.AccountNum
{
info(strFmt("%1,%2,%3,%4",i, custTable.AccountNum,custTrans.TransDate , custTrans.Voucher));
}
}
}
No comments:
Post a Comment