while select salesTable
{
do something;
if (you need to skip)
continue;
do something else;
}
you use next like this:
select salesTable;
while(salesTable.RecId != 0)
{
do something;
if (you need to skip)
{
next salesTable;
continue;
}
do something else;
next salesTable;
}
{
do something;
if (you need to skip)
continue;
do something else;
}
you use next like this:
select salesTable;
while(salesTable.RecId != 0)
{
do something;
if (you need to skip)
{
next salesTable;
continue;
}
do something else;
next salesTable;
}