Hi James
The local command is right, but I don't think you need to #define loTemp at all.
Maybe you're thinking of the trick to get Intellisense?
#IF .F.
LOCAL loTmp AS abizmanager of bizmanager.prg
#ENDIF
loTmp.intellisense kicks in here
>Hi All
>
>I thought I used to be able to do this in version 7.0 but now I get a syntax error when I save. What am I doing wrong? Thanks
>
>
>#define loTmp
>LOCAL loTmp as abizmanager OF bizmanager.prg
>