Candu
Jan 19th, 2000, 01:10 AM
I am trying to load forms into memory using a generic load form routing and I keep getting a "Type Mismatch Error". I would like to do something like the following:
Function fcnLoadForm(strFormName As String)
Forms(strFormName).Load
End Function
Or
Function fcnLoadForm(strFromName As String)
Load strFormName
End Function
I know that I should be able to do something like this, but at this moment in time it is eluding me.
Also I am noticing and confirmed with MSDN that a Form is only in the Forms Collection after it is loaded into memory.
Any help would be greatly appreciated.
Thank you
Candu
Function fcnLoadForm(strFormName As String)
Forms(strFormName).Load
End Function
Or
Function fcnLoadForm(strFromName As String)
Load strFormName
End Function
I know that I should be able to do something like this, but at this moment in time it is eluding me.
Also I am noticing and confirmed with MSDN that a Form is only in the Forms Collection after it is loaded into memory.
Any help would be greatly appreciated.
Thank you
Candu