|
-
September 29th, 1999, 03:56 PM
#1
Tag Property in VB6.0
The below code throws out an error in VB 6.0, the error message is
" is not a legal control name.
Why does this error occur in the propperty sheet for the form the Tag property is blank, I havent set any form.tag property.
frmReq.Controls(Me.Tag).Text = SelectColumnValue(grdResults, 0)
-
September 29th, 1999, 04:00 PM
#2
Re: Tag Property in VB6.0
If you haven't set a form.tag property, frmReq.Controls(Me.Tag) will cause the error you describe. Me.tag will = ""; thus, frmReq.Controls(Me.Tag) will attempt to reference a control on the form that is named "".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|