x++ while select "next" record


select salesTable;
while(salesTable.RecId != 0)
{
    do something;

    if (you need to skip)
    {
        next salesTable;
        continue;
    }

    do something else;

    next salesTable;
}

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.