if dataenv.rsse_abc.state =adstateopen then Dataenv.rsse_abc.close

解决方案 »

  1.   

    还是VC好写
    vb不清楚
    gz
      

  2.   

    if dataenv.rsse_abc.state =1 then Dataenv.rsse_abc.closeok
      

  3.   

    with dataenv.rsse_abc
     if .state=adstateopen then .close
    end with
      

  4.   

    lyr126(VB废人)
    你已经写成三行了。呵呵
      

  5.   

    IIf dataenv.rsse_abc.state = adstateopen ,Dataenv.rsse_abc.close
    ,Doevents 算一句话不?
      

  6.   

    zuizhu(醉竹) 
    你写用豆号隔开了,
    所以不算,从写。
      

  7.   

    if dataenv.rsse_abc.state =adstateopen then Dataenv.rsse_abc.close