PDA

Click to See Complete Forum and Search --> : VB Can't Find Datacontrol???


Brandr
Jul 12th, 2000, 09:47 AM
I have a datacontrol on a form named RBSSCS_ITMNUM. The data control is named Data1 (the name doesn't really matter because I've tried different names and none work). I really dont know why this isn't working because I've got similar things working using different forms and datacontrols (and the datacontrol properties are the same on the ones the work as this one)

When I'm in another form and I try to write something (or even just try to see if VB recognises it) to this datacontrol I enter:
RBSSCS_ITMNUM.Data1
BUT VB CANT FIND Data1 (or whatever I call the datacontrol)

This is incrediably frustrating, please help. Im using VB5.

-Brandr
bbeekman@rbscorp.com

Brandr
Jul 12th, 2000, 11:29 AM
I think that I found the cause for this problem. It seems that Visual Basic WONT detect any datacontrols from a secondary form when the form with the datacontrol has an underscore in its name.

I know this sound weird, but the renamed all my forms w/ datacontrols to names w/o underscores and everything seems to work fine.

Has anyone else noticed this problem?

-Brandr