type mismatch error

S

Steve S

Can anyone tell my why the following Dim/Set code produces a 'type mismatch'
error?

Dim frmName As Form
Set frmName = Forms![Reports Dialog].Combo62

I know the form/control name is correct because the next 2 lines display the
value that is showing in the control

strPrintScoreSheet = [Forms]![Reports Dialog].Combo62.Column(1)
MsgBox strPrintScoreSheet

HELP
 

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