Functions Flashcards
Convert to uppercase
UCase([String to be converted to uppercase])
Convert to lowercase
Lcase([string to be converted to lowercase])
Left trim
Ltrim( string to trim)
*removes leading spaces
Right trim
Rtrim(string to trim)
*removes trailing spaces
Trim
Trim(string to trim)
*removes both leading and trailing spaces
Powerful Case conversion
StrConv(string to be converted, conversion type)
o 1: uppercase characters o 2: lowercase characters o 3: proper case characters
Between And
Criteria: Between 10 And 30
Matching/finding names that begin with “John”
LIKE”John*”
Matching/finding names that ends with “son”
LIKE”*son”
Matching/finding company names that contain “Food”
LIKE”food”
DateDiff
DateDiff(interval, date1, date2)
IIF (immediate if)
IIF (Expression, TrueAnswer, FalseAnswer)
IIFDATE
IIF(DateDiff(“d”,[Service_date],[Invoice_date]) > 2, “Audit this record”, “Record is OK”)