Access & VB6 'Quick Help'

hellboy83

New member
Local time
Today, 14:43
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: 225
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?
 
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

Back
Top Bottom