Hello,
Do you use PifNewQueryFromFmtName with a while/wend ?
For example in the mapping we have :
---------------
hQ=PifNewQueryFromFmtName("AM","EmplDept","Name LIKE 'tot%'")
while (lErr = 0)
lErr=PifQueryNext(hQ)
Var_lEmplDeptID=PifQueryGetLongVal(hQ,"lEmplDeptID")
Var_Name=PifQueryGetStringVal(hQ,"Name")
...
piflogInfoMsg Var_Name
wend
lErr = pifQueryClose(hQ)
---------------
In the log, we can see 2 records (toti and tota) but we can't update these 2 records, only 1 record is updated (we use Var_lEmplDeptID as key).
Thanks