Dumb Question that I can't find the answer to.

M

Mr B

How do I access a field on a form froim a module? Something like frmName.txtName.value....

Can't seem to get that to work but I'm not sure I'm using the correct syntax.

Thanks.
 
G

Graham Mandeno

Hi Mr B

Try Forms("frmName")!txtName.Value

The .Value part is optional as Value is the default property for a control.
 

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