string ls_qsrq,ls_jsrq,ls_jsrq_next
ls_qsrq=string(dw_date.getitemdate(1,"start_date"),"yyyy/mm/dd")ls_jsrq=string(dw_date.getitemdate(1,"end_date"),"yyyy/mm/dd")ls_jsrq_next = string( RelativeDate( date(ls_jsrq),1),'yyyy/mm/dd')string ls_sqlls_sql = " "+&" 您的sql语法 "&//messagebox("提示",ls_sql)//首先执行sql语法 创建表 sqlca.autocommit=trueEXECUTE IMMEDIATE :ls_sql USING SQLCA; sqlca.autocommit=false