ACC97: Compile Error Using Derived Math Functions in HelpID: Q165056
|
Novice: Requires knowledge of the user interface on single-user computers.
In the Microsoft Access 97 Help topic "derived math functions," a compile
error occurs when you copy and paste some of the functions containing a
minus sign (-) into a module.
Help uses ASCII character 0150 for the minus sign instead of the correct ASCII character 0045.
After you paste a code example into a module, use the keyboard to manually retype all of the minus signs.
Function TestMinus()
Dim X As Integer
X = 5
' On the next line, type X = and then press CTRL+V to paste
X = Log(X + Sqr(X * X - 1))
End Function
Compile error:
Syntax error
Keywords : kbusage
Version : 97
Platform : WINDOWS
Issue type :
Last Reviewed: May 3, 1999