N
Nugimac
I have the following code in the OnCurrent and a cmdClose button click event
of a form called from 3 different forms.
‘*** code start
If IsLoaded(“frmAâ€) then
‘code here to do stuff
End if
If IsLoaded(“frmBâ€) then
‘code here to do stuff
End if
If IsLoaded(“frmCâ€) then
‘code here to do stuff
End if
‘***code end
I would like to change this into a select case statement like:
Select case “IsLoaded…â€
Case “frmAâ€
‘code to do stuff
Case “frmBâ€
‘code to do stuff
Case “frmCâ€
‘code to do stuff
End select
can you please help?
Thanks in advance
of a form called from 3 different forms.
‘*** code start
If IsLoaded(“frmAâ€) then
‘code here to do stuff
End if
If IsLoaded(“frmBâ€) then
‘code here to do stuff
End if
If IsLoaded(“frmCâ€) then
‘code here to do stuff
End if
‘***code end
I would like to change this into a select case statement like:
Select case “IsLoaded…â€
Case “frmAâ€
‘code to do stuff
Case “frmBâ€
‘code to do stuff
Case “frmCâ€
‘code to do stuff
End select
can you please help?
Thanks in advance