Quote from
Gaev on April 3, 2021, 1:40 am
@s7shanbe
In the Dbpro plugin
When using (dbpfind)
Is the number of items found stored in a variable?
You might consider a subroutine that does this by ... following the dbpFind command with a series of dbpFindNext commands (inside a While/EndWhile block).
a) You will need to use dbpShowErrors "No"
b) [dbpError] will be null (i.e. "") until there are no more records to find
c) also, [yourDB.yourTable.$RecNum] will change with every new matching record; when no more matches, this value will not change
@s7shanbe
In the Dbpro plugin
When using (dbpfind)
Is the number of items found stored in a variable?
You might consider a subroutine that does this by ... following the dbpFind command with a series of dbpFindNext commands (inside a While/EndWhile block).
a) You will need to use dbpShowErrors "No"
b) [dbpError] will be null (i.e. "") until there are no more records to find
c) also, [yourDB.yourTable.$RecNum] will change with every new matching record; when no more matches, this value will not change
Vadim and s7shanbe have reacted to this post.