Reference to form object

L

Leonard

Hi

I can't explain why, but the following code has developed an error.

Dim strFormParent As String

strFormParent = Me.txbParent
Dim frmParent As Form
Set frmParent = Forms(strFormName)

'Dim objLst As Object
'Set objLst = frmParent("lstRightExCurr")

'objLst.Requery
 
M

missinglinq via AccessMonster.com

Where does this code appear and what error code are you receiving?
 
Top