x++ 手动while select 表

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;
}
posted @ 2012-07-26 14:07  perock  阅读(394)  评论(0编辑  收藏  举报