![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Dear All My report open event has the following code Private Sub Report_Open(Cancel As Integer) Dim strDocName As String strDocName = "frmReportFilter" DoCmd.OpenForm strDocName, acNormal, , , , acDialog End Sub How I do disable, lock or hide some controls over the said form, because my form is also used for filtering some other reports where I don't need some control |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
On 15/12/2010 13:38:55, Shakeel wrote: Dear All My report open event has the following code Private Sub Report_Open(Cancel As Integer) Dim strDocName As String strDocName = "frmReportFilter" DoCmd.OpenForm strDocName, acNormal, , , , acDialog End Sub How I do disable, lock or hide some controls over the said form, because my form is also used for filtering some other reports where I don't need some control Very confusing. Let me get this right. You open a report, then that opens a form on whichyou wish to hide or lock controls. What changes which controls are visible or hidden, locked or unlocked. Does it depend on which report is open. As I said, very confusing because the normal way is to open a form first and generate a report based on the form's data Phil |
#5
| |||
| |||
|
|
On 15/12/2010 13:38:55, Shakeel wrote: Dear All My report open event has the following code Private Sub Report_Open(Cancel As Integer) Dim strDocName As String strDocName = "frmReportFilter" DoCmd.OpenForm strDocName, acNormal, , , , acDialog End Sub How I do disable, lock or hide some controls over the said form, because my form is also used for filtering some other reports where I don't need some control Very confusing. Let me get this right. You open a report, then that opens a form on which you wish to hide or lock controls. What changes which controls are visible or hidden, locked or unlocked. Does it depend on which report is open. As I said, very confusing because the normal way is to open a form first and generate a report based on the form's data Phil |
![]() |
| Thread Tools | |
| Display Modes | |
| |