各位大虾帮忙看看那里做错了!!
dlll 2003-05-22 05:04:18 各位老大!!
帮我看看这段代码哪里出问题了!!谢谢各位大虾!!
str1-str12市string型变量!
men市float型!
运行期错误提示:
“project soft_com.exe raised exception class eoleexception withmessage“再次上下文中不允许实用'mem'。此处只允许使用常量、表达式、或变量。不允许使用列名”。process stopped.use step or run to continue.”
adoquery1.SQL.Add('insert into con_manage values ('''+str1+''','''+str2+''','''+str3+''',men,'''+str5+''','''+str6+''','''+str7+''','''+str8+''','''+str9+''','''+str10+''','''+str11+''','''+str12+''') set identity_insert con_manage on');
adoquery1.ExecSQL;