| ACC: Invalid Reference to Field '<value>' Using SetValue MacroID: Q96580 
 | 
Moderate: Requires basic macro, coding, and interoperability skills.
If the Expression argument of a SetValue macro action evaluates to a text
expression that begins with a letter, you may receive the following error
message when a SetValue macro action tries to set the value of a
control.
In Microsoft Access 7.0 and 97:
! The object doesn't contain the OLE Automation object '<value>'
! Invalid reference to field '<value>'
An Expression argument of a SetValue macro action that begins with a leading equal sign (=) is understood to be a field name.
Remove the leading equal sign in the Expression argument.
      Macro Name         Action
      ---------------------------
      My Macro           SetValue
      My Macro Actions
      -------------------------
      SetValue
         Item: Field0
         Expression: ="A023bbb" ! The object doesn't contain the OLE Automation Object 'A023bbb'
! Invalid reference to field 'A023bbb'
For more information about the SetValue action, search the Help Index for "SetValue."
Keywords          : kberrmsg kbusage McrArg 
Version           : 1.0 1.1 2.0 7.0 97
Platform          : WINDOWS 
Issue type        : kbprb Last Reviewed: March 20, 1999