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.
 
Top