Access & VB6 'Quick Help' (1 Viewer)

hellboy83

New member
Local time
Yesterday, 17:38
Joined
Sep 12, 2008
Messages
4
Hi Guys,

Why is that my code in VB6 doesn't give the .text option shown in the attached image and when running the code it comes with following error message: method or data member not found

txtNome has already been declared in the properties window and it's not misspelled.

I don't know what's the problem, the other object names like txtClienteID work just fine.

Can somebody help.
 

Attachments

  • printScreen.jpg
    printScreen.jpg
    45.2 KB · Views: 145
Local time
Yesterday, 19:38
Joined
Mar 4, 2008
Messages
3,856
It looks like txtNome is an array, not a text box. Arrays don't have a .text property.

Is it possible you've re-used the name?
 

hellboy83

New member
Local time
Yesterday, 17:38
Joined
Sep 12, 2008
Messages
4
It looks like txtNome is an array, not a text box. Arrays don't have a .text property.

Is it possible you've re-used the name?
Hi George,

You were right, apparently i have re-used the txtNome and it created an array.
Problem solved now.

Thank you so much.
 

Users who are viewing this thread

Top Bottom