View Single Post
  #1 (permalink)  
Old Oct 30th, 2003, 14:13
ekendricks ekendricks is offline
Junior Member
Join Date: Aug 2003
Location: USA
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Visible property

I have a "Report Dialog" form that is called when a report is opened. The "Report Dialog" has several parameter text boxes. Would like to set one or more of those boxes to "visible=false" depending on the report calling the "Report Dialog".

Currently using the code below to call the ReportDialog form:

Sub Report_Open(Cancel As Integer)
DoCmd.OpenForm "ReportDialog", , , , , acDialog

If Not IsLoaded("ReportDialog") Then
Cancel = True
End If

End Sub

Thanks

Ernest L. Kendricks