Spring 1999
|
MCU | Converts all lower-case letters to upper-case. |
MCL | Converts all upper-case letters to lower-case. |
MCA | Extracts all alphabetic characters from data. |
MCN | Extracts all digits (0-9) from data. |
MC/A | Deletes all alphabetic characters from data. |
MC/N | Deletes all digits (0-9) from data. |
MCT | Converts the first letter of every word in the datum to upper-case and all remaining letters to lower-case. |
MCDX | Converts decimal data (base 10) to hexadecimal data (base 16). |
MCXD | Converts hexadecimal data to decimal data. |
MCP | Converts all unprintable characters (i.e. ASCII codes 0-31 and 127-255) to full-stops. |
MT | 24-hour hours and minutes. |
MTH | AM/PM hours and minutes. |
MTS | 24-hour hours, minutes, and seconds. |
MTHS | AM/PM hours, minutes, and seconds. |
Internal Time | Conversion | External Time |
0 | MT | 00:00 |
43200 | MT | 12:00 |
0 | MTH | 12:00AM |
43200 | MTH | 12:00PM |
0 | MTS | 00:00:00 |
43200 | MTS | 12:00:00 |
0 | MTHS | 12:00:00AM |
43200 | MTHS | 12:00:00PM |
9 | MTS | 00:00:09 |
99 | MTS | 00:01:39 |
999 | MTS | 00:16:39 |
9999 | MTS | 02:46:39 |
99999 | MTS | 27:46:39 |
999999 | MTS | 277:46:39 (i.e. 277 hours, 46 minutes, 39 seconds since midnight). |
>COUNT EMPLOYEES WITH PAY NE 1000.00
>COUNT EMPLOYEES WITH PAY # 1000.00
>COUNT EMPLOYEES WITH NO PAY
>COUNT EMPLOYEES WITH NOT PAY
>COUNT EMPLOYEES WITHOUT PAY
>COUNT EMPLOYEES WITH NOT PAY
>COUNT EMPLOYEES WITH NO PAY
>COUNT EMPLOYEES WITHOUT PAY
>SELECT BP
350 items selected.
>NSELECT DICT BP
34 items selected.
>SAVE-LIST BAD.BP.PROGS
>LIST ONLY EMPLOYEES
>SORT-ITEM DICT CUSTOMERS WITH *A1 = A OR WITH *A1
= S OR WITH *A1 = X LPTR
>SORT-ITEM DICT CUSTOMERS WITH *A1 = A S
X LPTR
>LIST EMPLOYEES WITH SURNAME = SMITH AND WITH FORENAME
= JOHN OR WITH SURNAME = SMITH AND WITH FORENAME =
PAUL
P(m);(m)
P(0A) | Any letters. |
P(3A) | Precisely three letters. |
P(1A3N);(1N3A) | Either precisely one letter and three digits, or one digit and three letters. |
P(2N-2N-2N) | Precisely two digits hyphen two digits hyphen two digits. |
P(E7N1A) | Precisely E, seven digits, one letter. |
P(1A0X) | One letter followed by any letters and/or digits. |
P(1N0X) | One digit followed by any letters and/or digits. |
>SELECT CUSTOMERS WITH INVOICED = Y
10 items selected.
>QSELECT CUSTOMERS (20
25 items selected.
>SUM INVOICES AMOUNT
Rn,m;n,m
R1,99 | The inclusive range 1 to 99. |
R-99,-1;1,99 | The inclusive range -99 to 99 excluding 0. |
H | Suppress tape label. |
I | Suppress display of item-ids being dumped. |
S;x;y
x |
Can be either an attribute number or a literal string (enclosed in double-quotes, single-quotes or back-slashes) which is substituted for the data if the data is neither null nor zero. |
y |
Can be either an attribute number or a literal string which is substituted for the data if the data is either null or zero. |
S;Balance outstanding;Account settled
>SSELECT CUSTOMERS BY NAME SAMPLING 10
>SSELECT CUSTOMERS BY NAME (L10
>SSAMPLE CUSTOMERS BY NAME (10
>SSELECT CUSTOMERS BY NAME (10
>SORT EMPLOYEES SURNAME INITIALS
>SORT EMPLOYEES BY DEPARTMENT BY SURNAME BREAK-ON DEPARTMENT SURNAME
INITIALS TOTAL ITEM.COUNT
ITEM.COUNT
001 A
002 0
003
004
005
006
007
008 A1"
009 R
010 0
Columns | The number of labels across each page. |
Rows | The number of lines to be printed per label. |
Skip | The number of lines between labels. |
Indent | The number of spaces in the left margin. |
Size | The number of characters per label line. |
Space | The number of characters between labels. |
C | Optional. Used to compress null values. |
>SORT-LABEL CUSTOMERS NAME ADDR1 ADDR2 ADDR3 ADDR4 POSTCODE (IC
?3,6,3,0,40,1
>SUM EMPLOYEES
>LIST EMPLOYEES TOTAL SIZE COL-HDR-SUPP DET-SUPP
>SUM EMPLOYEES PAY
>LIST EMPLOYEES TOTAL PAY DET-SUPP COL-HDR-SUPP
MV Basics guide to the Access Query Language will conclude in the next issue of MultiValue News
MV Basics: The Access Query Language - Part 5
Last Updated: 21 July 1999