精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • 運行這段代碼出現(xiàn)Cannot perform this operation on an open dataset

    運行這段代碼出現(xiàn)Cannot perform this operation on an open dataset
    procedure Tfrm_in.edt_OKClick(Sender:TObject);
    var y,m:String;
    begin
    y:=formatdatetime('yyyy',now);
    m:=formatdatetime('m',now);
    try
    if (strtoint(edt_year.Text)>strtoint(y))or((strtoint(edt_year.Text)=strtoint(y))
    and (strtoint(edt_month.Text)>=strtoint(m))) then
    begin
    showmessage('日期超前!');
    exit;
    end;
    except
    showmessage('請輸入正確的月份!');
    exit;
    end;
    month:='月進貨'+edt_year.Text+'-'+edt_month.Text;
    with data_month do
    begin
    commandtext:='select * from bookin where date like '+quotedstr(month+'-%');
    active:=true;
    end;
    end;
    其他人氣:319 ℃時間:2020-02-06 04:51:07
    優(yōu)質(zhì)解答

    commandtext:='select * from bookin where date like '+quotedstr(month+'-%');
    上面加上if active then Close; 試試
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點,以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權(quán)所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機版