T
tomrector
Access 2003 XP pro
I have a form (1st form) that I use as a selection list for a query
parameter. Works great.
A button (code below) submits the query parameter data to a form (2nd
form) whose source is that query.
My problem is that when I "close" the 2nd form (command button-close
form) it returns to the 1st form,
but is no longer full screen. Even though the 1st form is set to
maximize on opening.
I have saved the 1st form at extreme hieght and width, even put
graphics in as place (space) holders to try to make the form open
larger, no success.
What can I do to make the 1st form screen return as maximized ?
Private Sub Command4_Click()
On Error GoTo Err_Command4_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmACLASS"
stLinkCriteria = "[txtTitle]=" & "'" & Me![txtTitle] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command4_Click:
Exit Sub
Err_Command4_Click:
MsgBox Err.Description
Resume Exit_Command4_Click
End Sub
Any help/direction is appreciated,
Tom Rector
Any ideas ?
I have a form (1st form) that I use as a selection list for a query
parameter. Works great.
A button (code below) submits the query parameter data to a form (2nd
form) whose source is that query.
My problem is that when I "close" the 2nd form (command button-close
form) it returns to the 1st form,
but is no longer full screen. Even though the 1st form is set to
maximize on opening.
I have saved the 1st form at extreme hieght and width, even put
graphics in as place (space) holders to try to make the form open
larger, no success.
What can I do to make the 1st form screen return as maximized ?
Private Sub Command4_Click()
On Error GoTo Err_Command4_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmACLASS"
stLinkCriteria = "[txtTitle]=" & "'" & Me![txtTitle] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command4_Click:
Exit Sub
Err_Command4_Click:
MsgBox Err.Description
Resume Exit_Command4_Click
End Sub
Any help/direction is appreciated,
Tom Rector
Any ideas ?