msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debug Error

 
Post new topic   Reply to topic    msvisual.com Forum Index -> DirectX
Author Message
Bryan



Joined: 04 Oct 2007
Posts: 11

PostPosted: Wed Nov 07, 2007 4:06 am    Post subject: Debug Error Reply with quote

I need some help with the following

When I open this DB and click on a label which supposed to open a calendar
form I'm getting the following error message

1. there is no object in the control and it give me 3 option 1. end, 2.
Debug, 3. Help

when I click on Debug it brings me to the following codes.

Private Sub Label36_Click()

If Me.frm_DateChooser.Visible = False Then
Label36.Caption = "Hide Calendar..."
Me.frm_DateChooser.Visible = True
Forms!frm_MainScreen!frm_DateChooser.Form.src = "main"
If Text34 "" Then
Forms!frm_MainScreen!frm_DateChooser.Form.ActiveXCtl2 = Text34
Else
Forms!frm_MainScreen!frm_DateChooser.Form.ActiveXCtl2 = Date
End If
Else
Label36.Caption = "Show Calendar..."
Me.Text34.SetFocus
Me.frm_DateChooser.Visible = False
End If

End Sub

with the following line in yellow -
Forms!frm_MainScreen!frm_DateChooser.Form.ActiveXCtl2 = Date
End If

Can some one pls tell me what I need to do so I can fix this problem

thank You

Archived from group: microsoft>public>vb>directx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> DirectX All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group