MAGNU001 ;WOIFO/NST - Utilities for RPC calls ; 25 Apr 2017 4:16 PM
Source file <MAGNU001.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
FM2IDF(FMDT) | ; converts date time in FileMan format CYYMMDD.HHMMSS to YYYYMMDD.HHMMSS
|
|
GETFILNM(FILE) | ; Returns file name
|
|
GETFILGL(FILE) | ; Get Global root of the file
|
|
GETFLDID(FILE,FNAME) | ; Returns a field number
|
|
GETFLDS(MAGRY,MAGRYW,FILE,FLAGS) | ; Returns array with all fields in a file
; ; Input Parameters ; ================ ; FILE = FileMan file number ; FLAGS = I - add I(internal) to the field numbers in Result e.g .01I;2I;3I ; ; Return Values ; ============= ; ; Result=n1;n2;n3 (e.g. .01;2;3) - no multiple or word-processing fields ; ; MAGRY(n)=nth field name ; MAGRY(n,"TYPE")=type of the field (e.g. RP2006.916, 2006.9183, RD, RN, etc.) ; ; MAGRYW(n)=nth Word-Processing field name ; MAGRY(n,"TYPE")=type of the field (e.g. RP2006.916, 2006.9183, RD, RN, etc.) |
|
ISFLDSUB(TYPEDEF,FILE,FLDID) | ; Returns true(1) or false(0) if a field is from Word-Processing type or Multiple
|
|
ISFLDDT(FILE,FLDID) | ; Returns true(1) or false(0) if a field is from DATE/TIME type
|
|
ISFLDWP(TYPEDEF,FILE,FLDID) | ; Returns true(1) or false(0) if a field is from Word-Processing type
|
|
GSUBFILE(FILE,FIELD) | ; Returns sub-file of a multiple field
|
|
GSUBROOT(FILE,FIELD,D0) | ; Return open root of multiple field
|