Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compile Error in Hidden Module

Status
Not open for further replies.

copjim

Programmer
May 9, 2001
1
US
I get the error message "Compile Error in Hidden Module" when I run some code. This only occurs in the run-time version of the application. I am using Access 97 on Windows 98 systems.


A sample of the code is below:

Private Sub Reason_Exit(Cancel As Integer)
If Left(Me.Reason.Value, 3) = "OTS" Or Left(Me.Reason.Value, 3) = "SDS" Or _
Left(Me.Reason.Value, 3) = "DI1" Then
Me.OTReason.Enabled = True
Me.OTReason.Locked = False
Me.OTReason.Visible = True
Me.STReason.Enabled = True
Me.STReason.Locked = False
Me.STReason.Visible = True
Me.Label44.Visible = True
Me.Label46.Visible = True
Me.Hours.SetFocus
Any help is appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top