Reference to form object

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
 
M

missinglinq via AccessMonster.com

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top