Reference to form object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Where does this code appear and what error code are you receiving?
 
Back
Top