无效使用财产问题 [英] Invalid Use Of Property Problem

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

问题描述

我希望有人可以告诉我我的程序出了什么问题,我的程序就是这个我想在文本框ei text3(0)到(15)中显示我的所有数据库记录,似乎连接没有有什么问题。但每当我运行我的程序时,会弹出一个错误,指示无效使用财产。这是什么..


这是我的代码:

hin there i hope someone can tell what i been doing wrong with my program, my program is this i want to display all my database records in a text box e.i text3(0) to (15), it seems the connection doesnt have any problem. but whenever i run my program an error pop up to indicating "INVALID USE OF PROPERTY" what is this..

This is my code:

展开 | < span class =codeLinkonclick =selectAll(this);>选择 | 换行 | 行号

推荐答案

我不确定这是否是你问题的原因,但我相信我至少可以看到两个你遗漏了等号的地方。除非将代码复制到帖子中的方式有​​问题,我想。


你没告诉我们 where 报告问题,或者您正在使用的VB版本。虽然通过控制阵列判断,我会说VB6。无论如何,这两行立刻引起了我的注意,每一行都跟着我认为它们应该是什么样的......
I''m not sure whether it''s the cause of your problem, but I believe I can see at least two places where you''ve left out an equals sign. Unless there''s something wrong with the way the code was copied into your post, I suppose.

You didn''t tell us exactly where the problem is reported, or what version of VB you''re using. Though judging by the control array, I''d say VB6. Anyway, these are the two lines which immediately caught my attention, each followed by what I think they should look like...
展开 | 选择 | 换行 | 行号


我想过,如果您的表或字段名称包含空格,则需要将它们括在括号中
Just thought I?d mention that if your table or field names contain spaces you need to enclose them in bracket
展开 | 选择 | Wrap | 行号


感谢您提问我的问题我在我的代码的这个区域得到错误:

Thank you for entertaining my question am getting the error in this area of my code:

展开 | 选择 | Wrap | 行号


这篇关于无效使用财产问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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