Hi All....
I have created a form in which i call other forms from the main form ..
When i click a perticular botton twice there is an error .. Can anyone help me to solve my problem.. The error is:::
ERROR 3705
"Operation is not allowed when the object is open"...
Here i am l posting the code so that you all may get some idea...
Private Sub cmd_companyinfo _Click()
Load FrmCompany
FrmCompany.Show
End Sub
Private Sub cmd_duplicate_r eceipt_Click()
Load FrmDuplicate_Re ceipt
FrmDuplicate_Re ceipt.Show
End Sub
Private Sub cmd_exit_Click( )
Unload FrmMain
End
End Sub
Private Sub cmd_generate_Cl ick()
Load FrmReceipt
FrmReceipt.Show
End Sub
Private Sub cmd_receipt_Cli ck()
Load FrmReceipt_Deta ils
FrmReceipt_Deta ils.Show
End Sub
Private Sub cmd_reset_Click ()
Load FrmReset
FrmReset.Show
End Sub
Private Sub Form_Load()
End Sub
I have created a form in which i call other forms from the main form ..
When i click a perticular botton twice there is an error .. Can anyone help me to solve my problem.. The error is:::
ERROR 3705
"Operation is not allowed when the object is open"...
Here i am l posting the code so that you all may get some idea...
Private Sub cmd_companyinfo _Click()
Load FrmCompany
FrmCompany.Show
End Sub
Private Sub cmd_duplicate_r eceipt_Click()
Load FrmDuplicate_Re ceipt
FrmDuplicate_Re ceipt.Show
End Sub
Private Sub cmd_exit_Click( )
Unload FrmMain
End
End Sub
Private Sub cmd_generate_Cl ick()
Load FrmReceipt
FrmReceipt.Show
End Sub
Private Sub cmd_receipt_Cli ck()
Load FrmReceipt_Deta ils
FrmReceipt_Deta ils.Show
End Sub
Private Sub cmd_reset_Click ()
Load FrmReset
FrmReset.Show
End Sub
Private Sub Form_Load()
End Sub
Comment