ls_syntax = "select max("+as_colname+") from "+as_tabname+""
declare serial dynamic cursor for sqlsa;
prepare sqlsa from :ls_syntax;
open dynamic serial;
if sqlca.sqlcode<>0 then
messagebox('提示','取序号错误:'+sqlca.sqlerrtext)
close serial;
return ''
end if
fetch serial into :ls_serialno;
close serial;
报错,sqlerrtext的值为:sqlstate=s1c00 [microsoft][odbc microsoft access 驱动程序]可选的功能未实现