while not AQ_pnonum.eof do
begin
  if  AQ_pnonum['IsP']=1 then next;



end;我想當AQ_pnonum['IsP']=1時,下面的內容不執行了,進入下一個循環。
請指教......

解决方案 »

  1.   

    if  AQ_pnonum['IsP']=1 then break;
      

  2.   

    if  AQ_pnonum['IsP']=1 then
    begin
    {当 AQ_pnonum['IsP']=1 的时候运行的内容}
    end
    else
    begin
    {当 AQ_pnonum['IsP']<>1 的时候运行的内容}
    end;
      

  3.   

    设标志flage,当内循环BREAKE是,检测FLAGEE
      

  4.   

    while not AQ_pnonum.eof do
    begin
      if  AQ_pnonum['IsP']=1 then 
      begin
        next;
        Continue;
      end;



    end;
      

  5.   

    zswangII(伴水清清)(一贴不灌,何以灌天下?)
      

  6.   

    多谢: zswangII(伴水清清)(一贴不灌,何以灌天下?) 
    我一直以为用一个词就可以达到效果,谢谢大家帮忙.