Results 1 to 2 of 2

Thread: VB Can't Find Datacontrol???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30

    Angry

    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
    [email protected]

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30

    Lightbulb Problem Resolved

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width