can u help me how to open a sub form with in a main form
without opening a new window.....
my main form (frm_searchby_Name)consists
of text field to enter the address and button
when i click the button a new subform window is opening...
can i open in the main form itself?
thank u
ssr
Expand|Select|Wrap|Line Numbers
- Private Sub Command20_Click()
- On Error GoTo Err_Command20_Click
- Dim stDocName As String
- Dim stLinkCriteria As String
- stDocName = "sfrm_searchby_Name"
- DoCmd.OpenForm stDocName, , , stLinkCriteria
- Exit_Command20_Click:
- Exit Sub
- Err_Command20_Click:
- MsgBox Err.Description
- Resume Exit_Command20_Click
- End Sub