Outside referencing doesn't seem to work.
If I put the statement in a the VBA code for a form named
"frmOtherForm" the referencing doesn't work.
Also I use the reference in some of my queries too, such as in list
boxes which updates according to the current record.
Still, why 2007. I've used this referencing since Access97 days. This
2007 is so frustrating it's killed my business.
Dom
You can use:
Forms!frmMyForm![record_id]
from inside the form, in VBA code, you can also use:
Me.[record_id]
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
Once upon a time I could reference form fields using something like
Forms("frmMyForm")![record_id]
It seems Access 2007 has stopped me from making such references.
Can anyone help me with a work around.
Thanks
Dominic