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

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

Guest

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.
 
Hi Mr B

Try Forms("frmName")!txtName.Value

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