面对错误 [英] facing errors

查看:83
本文介绍了面对错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我将控件位置值存储在数据库中.
我正在使用对象变量来存储控件的位置,但遇到一些错误.

未为字符串"IUD_dramdtls 0," ad," 2010/11/03"定义类型"Point"的运算符&".

我的编码是

Hi,

I''m storing the control location value in my database.
I am using object variable to store location of the controls but I''m facing some errors.

Operator ''&'' is not defined for string "IUD_dramdtls 0,''ad'',''2010/11/03''" and type ''Point''.

My coding is

Query = "IUD_dramdtls " & clvdramakey & ",'" & clvdramname & "','" & clvdatefrom & "','" & clvdrdateto & "'," & clvdescprtn & ",'" & clvoprstamp & _
                         "'," & clvlogusrid & ",'" & IUTYPE & "'"




在这里,"& clvdescprtn&"是我通过该变量传递传递位置值的对象变量.

请解决此问题.




here ,''" & clvdescprtn & "'', is my object variable through that variable I am passing contol location value.

Please solve this issue.

推荐答案



根据错误消息,我想您正在串联(添加)字符串变量和至少一个"Point"类型变量.

只需检查您要在代码中串联(添加)的每个变量类型的类型即可.

希望对您有帮助,

谢谢
Arindam D Tewary,
Hi,

Going by the error message, I guess you are concatenating (adding) string variables and at least one "Point" type variable.

Just check type of each variable type that you are trying to concatenate(add)in your code.

Hope it helps,

Thanks
Arindam D Tewary,


这篇关于面对错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆