[AccessD] Bang and Dot operator in Runtimes.

Dan Waters dwaters at usinternet.com
Mon Aug 21 14:58:17 CDT 2006


John,

I never use the me. or me! syntax on any forms or reports to simply refer to
a textbox, combobox, checkbox, label, etc.

Could you just remove it altogether?

Dan Waters
 
-----Original Message-----
Subject: [AccessD] Bang and Dot operator in Runtimes.


I've been able to fix this by making some changes in code but want to know
if anyone has additional info on why this occurs.

Sometimes, referring to a text box with the "." operator sometimes fails in
runtime apps.

me.txtDate = #1/1/2001#  'Causes an error
Vs.
Me!txtDate = #1/1/2001#

The error message I get is that the dot operator is invalid.

I simply change it and it's fine. Yet, on other forms, it's working.

I re-import and uncompile/compile many times on these apps and it still
doesn't seem to always catch the potential problem.

Any thoughts?

John







More information about the AccessD mailing list