MajP
You've got your good things, and you've got mine.
- Local time
- Today, 12:13
- Joined
- May 21, 2018
- Messages
- 9,951
I think the correct statement would be even narrower. Calculated fields in a table support a subset of Access SQL functions and operators.
So the \ operator is a Access Sql operator AFAIK, but for some reason not supported.
Supposedly Mod is Access Sql and does not work
The question is what are the native Access Sql Functions, because I cannot find an authoritative list that is correct. According to Chat
Access Sql functions AFAIK are executed by the database engine and not in the access application environment. Although these functions may have the same name and signature.
So I think there are
Access Sql Functions executed by database engine
Native vba functions executed by expression service
Udf vba functions executed by access environment
And a subset of Access Sql functions supported in a table calculated field
So the \ operator is a Access Sql operator AFAIK, but for some reason not supported.
Supposedly Mod is Access Sql and does not work
The question is what are the native Access Sql Functions, because I cannot find an authoritative list that is correct. According to Chat
Not everything available in the expression build is an Access Sql functin. As Pat points out they are often VB native functions.Microsoft Access SQL includes a variety of mathematical functions that can be used within queries and expressions. These functions can be broadly categorized as:
1. Arithmetic Operators:
2. Numeric/Mathematical Functions:
- + (Addition)
- - (Subtraction)
- * (Multiplication)
- / (Division)
- `\` (Integer Division) - Returns only the integer portion of a division.
- ^ (Exponentiation) - Raises a number to a specified power.
- Mod (Modulus) - Returns the remainder of a division operation.
- Abs(number): Returns the absolute value of a number.
- Atn(number): Returns the arctangent of a number.
- Cos(number): Returns the cosine of an angle.
- Exp(number): Returns e (the base of natural logarithms) raised to a power.
- Fix(number): Returns the integer portion of a number by truncating the decimal part.
- Int(number): Returns the integer portion of a number by truncating the decimal part. (Similar to Fix but handles negative numbers differently).
- Log(number): Returns the natural logarithm of a number.
- Round(number, [num_decimal_places]): Rounds a number to a specified number of decimal places.
- Sgn(number): Returns an integer indicating the sign of a number (1 for positive, -1 for negative, 0 for zero).
- Sin(number): Returns the sine of an angle.
- Sqr(number): Returns the square root of a number.
- Tan(number): Returns the tangent of an angle.
Access Sql functions AFAIK are executed by the database engine and not in the access application environment. Although these functions may have the same name and signature.
So I think there are
Access Sql Functions executed by database engine
Native vba functions executed by expression service
Udf vba functions executed by access environment
And a subset of Access Sql functions supported in a table calculated field
Last edited: