Filemaker TH325Z/A Fiche technique

Naviguer en ligne ou télécharger Fiche technique pour Logiciel de base de données Filemaker TH325Z/A. Filemaker Pro 8.5 Retail Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 238
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - FileMaker

FileMaker® 8.5Functions Reference

Page 2

10 FileMaker Functions Reference

Page 3 - Contents

100 FileMaker Functions ReferenceGet(PortalRowNumber)FormatGet(PortalRowNumber)ParameterNoneData type returnednumberDescriptionReturns the number

Page 4

Chapter 7 | Get functions 101ExamplesReturns /C:/Documents and Settings/John Smith/Local Settings/Application Data/ for a user named John Smith

Page 5 - Contents 5

102 FileMaker Functions ReferenceGet(PrivilegeSetName)FormatGet(PrivilegeSetName)ParameterNoneData type returnedtextDescriptionReturns the name of

Page 6 - Logical functions 127

Chapter 7 | Get functions 103DescriptionReturns a number based on the current record’s access privileges, assigned through the Custom Record Pri

Page 7 - Contents 7

104 FileMaker Functions ReferenceDescriptionReturns the unique ID number of the current record. This number is a decimal value (an integer) genera

Page 8 - Text functions 161

Chapter 7 | Get functions 105ExampleReturns 0 if the record has not been modified since it was created.If changes are made to four fields and al

Page 9 - Contents 9

106 FileMaker Functions ReferenceData type returnednumberDescriptionReturns the total number of open records in the current found set that haven’t

Page 10

Chapter 7 | Get functions 107ExampleReturns 1 if the current record is a new record that hasn’t been saved.Get(RequestCount)FormatGet(RequestCou

Page 11 - Introduction

108 FileMaker Functions ReferenceExampleReturns 1 when the Omit checkbox is selected in the current find request.Get(ScreenDepth)FormatGet(ScreenD

Page 12

Chapter 7 | Get functions 109DescriptionReturns the number of pixels displayed vertically on the screen in which the window of the current file

Page 13 - Introduction 13

Chapter 1IntroductionAbout functions A function is a predefined, named formula that performs a specific calculation and returns a single, specific val

Page 14 - H, I, J, K

110 FileMaker Functions ReferenceData type returnedtextDescriptionReturns the name of the script currently running (or paused).Note See FileMaker

Page 15 - L, M, N, O

Chapter 7 | Get functions 111Evaluate("Let ( [" & Get(ScriptParameter) & "]; a + 1 & \", \" & b + 2 )&q

Page 16 - V, W, X, Y, Z

112 FileMaker Functions ReferenceGet(SortState)FormatGet(SortState)ParameterNoneData type returnednumberDescriptionReturns 0 if the records in the

Page 17 - Aggregate functions

Chapter 7 | Get functions 113DescriptionReturns a number indicating the current status area state. Returns:• 0 (zero) if the status area is hidd

Page 18

114 FileMaker Functions ReferenceGet(SystemIPAddress)FormatGet(SystemIPAddress)ParameterNoneData type returnedtextDescriptionReturns a list of the

Page 19 - Aggregate functions 19

Chapter 7 | Get functions 115Get(SystemNICAddress)FormatGet(SystemNICAddress)ParameterNoneData type returnedtextDescriptionReturns the hardware

Page 20

116 FileMaker Functions ReferenceExamplesAbs(Get(SystemPlatform)) returns 2 when the current platform is a Windows platform.Get(SystemPlatform) re

Page 21 - Aggregate functions 21

Chapter 7 | Get functions 117Note See FileMaker Pro help for information about running scripts in client/server and peer-to-peer environments.E

Page 22

118 FileMaker Functions ReferenceDescriptionReturns the number of clients currently accessing the file. Returns:• 1 if FileMaker network sharing i

Page 23 - Aggregate functions 23

Chapter 7 | Get functions 119Get(UseSystemFormatsState)FormatGet(UseSystemFormatsState)ParameterNoneData type returnednumberDescriptionReturns a

Page 24

12 FileMaker Functions ReferenceFunctions reference (alphabetical list) This section lists the functions in alphabetical order. A, B, CAbs 144Ata

Page 25

120 FileMaker Functions ReferenceThe example below combines Get(WindowContentHeight) with Get(WindowHeight) to determine the size of the title bar

Page 26

Chapter 7 | Get functions 121DescriptionReturns a number representing the height, in pixels, of the desktop space. In Windows, the desktop space

Page 27 - Variance

122 FileMaker Functions ReferenceGet(WindowHeight)FormatGet(WindowHeight)ParameterNoneData type returnednumberDescriptionReturns a number represen

Page 28 - VarianceP

Chapter 7 | Get functions 123ExamplesReturns 52 when the outer edge of the active window is 52 pixels from the left edge of the screen.Returns 0

Page 29

124 FileMaker Functions ReferenceData type returnedtextDescriptionReturns the name of the window that the script is acting on (not necessarily the

Page 30

Chapter 7 | Get functions 125Get(WindowVisible)FormatGet(WindowVisible)ParameterNoneData type returnednumberDescriptionReturns a number represen

Page 31 - Date functions

126 FileMaker Functions ReferenceNote See FileMaker Pro help for information about running scripts in client/server and peer-to-peer environments

Page 32

Chapter 8 | Logical functions 127Chapter 8Logical functionsLogical functions test for a condition to evaluate it as true or false. This is known

Page 33 - Date functions 33

128 FileMaker Functions ReferenceCaseFormatCase(test1;result1{;test2;result2;defaultResult...})Parameterstest - any text or numeric expression.res

Page 34 - DayOfWeek

Chapter 8 | Logical functions 129Data type returnedtext, number, date, time, timestamp, containerDescriptionReturns one result value, according

Page 35 - DayOfYear

Chapter 1 | Introduction 13Get(ActiveRepetitionNumber) 71Get(ActiveSelectionSize) 72Get(ActiveSelectionStart) 72Get(AllowAbortState) 73Get(A

Page 36 - MonthNameJ

130 FileMaker Functions ReferenceEvaluate(GetField("textfield")) returns 4 when textfield contains 2 + 2.Evaluate(TextField;[Amount]) re

Page 37 - WeekOfYearFiscal

Chapter 8 | Logical functions 131The dependent parameter can also be useful in other cases. For example, Evaluate(“Get(CurrentTimeStamp)”, [Fiel

Page 38

132 FileMaker Functions ReferenceDescriptionReturns 0 if data has a value of 0 or is empty, all other values return 1.ExamplesGetAsBoolean(“”) ret

Page 39 - YearName

Chapter 8 | Logical functions 133GetLayoutObjectAttributeFormatGetLayoutObjectAttribute(objectName;attributeName{;repetition Number})Parameterso

Page 40

134 FileMaker Functions Referenceheight - returns a number representing the height (in pixels) of the specified object.rotation - returns a number

Page 41 - Design functions

Chapter 8 | Logical functions 135ParametersfieldName - any related field or repeating field, or an expression that returns a field or a repeatin

Page 42

136 FileMaker Functions ReferenceDescriptionReturns one of two possible results depending on the value of test. If test is True (any non-zero nume

Page 43 - FieldBounds

Chapter 8 | Logical functions 137IsValidFormatIsValid(field)Parameterfield - any field nameData type returnednumberDescriptionReturns False (0)

Page 44 - FieldComment

138 FileMaker Functions ReferenceDescriptionReturns True (1) if expression syntax is correct. Returns False (0) if expression has a syntax error.E

Page 45 - FieldNames

Chapter 8 | Logical functions 139The Let function sets the variables from left to right. You can use previously defined variables (for example,

Page 46 - FieldRepetitions

14 FileMaker Functions ReferenceGet(ScreenWidth) 109Get(ScriptName) 109Get(ScriptParameter) 110Get(ScriptResult) 111Get(SortState) 112Get(Sta

Page 47 - FieldStyle

140 FileMaker Functions ReferenceLookupFormatLookup(sourceField{;failExpression})ParameterssourceField - the field from which the lookup value is

Page 48 - FieldType

Chapter 8 | Logical functions 141LookupNextFormatLookupNext(sourceField;lower/higherFlag)ParameterssourceField - the field from which the lookup

Page 49 - LayoutIDs

142 FileMaker Functions ReferenceThe People and Company tables are related using the number field CompanyID. The calculation CompanyName = LookupN

Page 50 - LayoutObjectNames

Chapter 9 | Number functions 143Chapter 9Number functionsNumber functions are used to manipulate numeric data. Click a function name for details

Page 51 - RelationInfo

144 FileMaker Functions ReferenceAbsFormatAbs(number)Parameternumber - any numeric expression or field containing a numeric expressionData type re

Page 52 - ScriptIDs

Chapter 9 | Number functions 145CombinationFormatCombination(setSize;numberOfChoices) ParameterssetSize - any numeric expression or field contai

Page 53 - TableIDs

146 FileMaker Functions ReferenceDescriptionReturns the next lowest integer value after dividing number by divisor. The Div function is equivalent

Page 54 - ValueListIDs

Chapter 9 | Number functions 147Data type returnednumberDescriptionReturns the factorial of number stopping at 1, or stopping at the optional nu

Page 55 - ValueListNames

148 FileMaker Functions ReferenceParameternumber - any numeric expression or field containing a numeric expressionData type returnednumberDescript

Page 56 - WindowNames

Chapter 9 | Number functions 149LnFormatLn(number)Parameternumber - any numeric expression or field containing a numeric expressionData type ret

Page 57 - External functions

Chapter 1 | Introduction 15IsValidExpression 137KanaHankaku 171KanaZenkaku 172KanjiNumeral 172Katakana 172L, M, N, OLast 157LayoutIDs 49L

Page 58 - External

150 FileMaker Functions ReferenceModFormatMod(number;divisor)Parametersnumber - any numeric expression or field containing a numeric expressiondiv

Page 59 - Financial functions

Chapter 9 | Number functions 151DescriptionReturns a random number between zero and one. FileMaker Pro generates a new random number when you:•

Page 60

152 FileMaker Functions ReferenceParametersexpression - any numeric expressionprecision - any number or numeric expressionData type returnednumber

Page 61

Chapter 9 | Number functions 153SqrtFormatSqrt(number)Parameternumber - any positive number, numeric expression, or field containing a numeric e

Page 62

154 FileMaker Functions ReferenceTruncate(29343.98;-3) returns 29000.Truncate(123.456;4) returns 123.456.Truncate(29343.98;5) returns 29343.98.

Page 63 - Get functions

Chapter 10 | Repeating functions 155Chapter 10Repeating functionsRepeating functions perform calculations on repeating fields. Click a function

Page 64

156 FileMaker Functions ReferenceExtendFormatExtend(non-repeatingField)Parameternon-repeatingField - any non-repeating field (a field defined to c

Page 65 - Get functions 65

Chapter 10 | Repeating functions 157DescriptionReturns the contents of the repeating field specified by number.ExamplesParcelBids is a field def

Page 66

158 FileMaker Functions ReferenceLast(if(IsEmpty(Company);PersonalPhone;WorkPhone)) returns the last non-empty phone number from the repeating fie

Page 67 - Get functions 67

Chapter 11 | Summary functions 159Chapter 11Summary functionsSummary functions produce a summary of all records in the found set, or subsummary

Page 68 - Get(ActiveFieldContents)

16 FileMaker Functions ReferenceRomanHankaku 184RomanZenkaku 184Round 151SScriptIDs 52ScriptNames 53Seconds 203SerialIncrement 185SetPrecis

Page 69 - Get(ActiveFieldTableName)

160 FileMaker Functions ReferenceGetSummaryFormatGetSummary(summaryField;breakField)ParameterssummaryField - field of type summary, or an expressi

Page 70 - Get(ActiveLayoutObjectName)

Chapter 12 | Text functions 161Chapter 12Text functionsText functions can be used to analyze, rearrange, extract, and build text strings. For ex

Page 71 - Get(ActiveRepetitionNumber)

162 FileMaker Functions ReferenceKanjiNumeral, page 172Kanji numerals converted from Arabic numerals.Katakana, page 172 Zenkaku Katakana converted

Page 72 - Get(ActiveSelectionStart)

Chapter 12 | Text functions 163ExactFormatExact(originalText;comparisonText)ParametersoriginalText - any text expression, text field, or contain

Page 73 - Get(AllowToolbarState)

164 FileMaker Functions ReferenceFilterFormatFilter(textToFilter;filterText)ParameterstextToFilter - any text expression or text fieldfilterText -

Page 74 - Get(ApplicationLanguage)

Chapter 12 | Text functions 165DescriptionReturns a text result containing only the characters that were provided in filterValues, in the order

Page 75 - Get(ApplicationVersion)

166 FileMaker Functions ReferenceExampleGetAsCSS(text) returns the example result shown below when the field text contains the word “Frank” and th

Page 76 - Get(CurrentHostTimestamp)

Chapter 12 | Text functions 167Data type returnednumberDescriptionReturns only the numbers in text, as data type number, for use with formulas i

Page 77 - Get(CurrentTime)

168 FileMaker Functions Reference</StyleList><Data> <Span style=”0”>Frank</Span></Data>GetAsTextFormatGetAsText(data

Page 78 - Get(CustomMenuSetName)

Chapter 12 | Text functions 169DescriptionReturns times or timestamps in text as data type time, for use with formulas involving the Time or Tim

Page 79 - Get(DesktopPath)

Chapter 2Aggregate functionsAggregate functions perform statistical analysis on numbers (and also dates or times for some functions) in: • several fie

Page 80 - Get(ErrorCaptureState)

170 FileMaker Functions ReferenceData type returnedtextDescriptionReturns text as URL (Uniform Resource Locator) encoding, for use as a URL. Remov

Page 81 - Get(FileMakerPath)

Chapter 12 | Text functions 171ExampleGetValue(“London¶Paris¶Hong Kong”;2) returns ParisHiraganaFormatHiragana(text)Parametertext - any text exp

Page 82 - Get(FilePath)

172 FileMaker Functions ReferenceKanaZenkakuFormatKanaZenkaku(text)Parametertext - any text expression or text fieldData type returnedtextDescript

Page 83 - Get(FileSize)

Chapter 12 | Text functions 173Parametertext - any text expression or text fieldData type returnedtextDescriptionConverts from Hiragana to Zenka

Page 84 - Get(HighContrastColor)

174 FileMaker Functions ReferencenumberOfValues - any numeric expression or field containing a numberImportant See chapter 4, “Design functions”

Page 85 - Get(HostIPAddress)

Chapter 12 | Text functions 175ExamplesLeftWords(“Plaid Canvas Suitcase”;2) returns Plaid Canvas.LeftWords(Name;1) returns Sophie, when the Name

Page 86 - Get(HostName)

176 FileMaker Functions ReferenceExamplesLower(“ABCD”) returns abcd.Lower(Course) returns history, when the Course field contains History.Lower(“Y

Page 87 - Get(LastError)

Chapter 12 | Text functions 177Important See chapter 4, “Design functions” for information about literal text parameters.Data type returnedtext

Page 88 - Runtime errors

178 FileMaker Functions ReferenceDescriptionReturns a text result containing the numberOfWords from text, beginning at startingWord.Note The ampe

Page 89 - Get functions 89

Chapter 12 | Text functions 179ExamplesNumToJText(123456789;2;0) returns NumToJText(123456789;3;2) returns PatternCountFormatPatternCount(text;s

Page 90

18 FileMaker Functions ReferenceAverageFormatAverage(field{;field...})Parameterfield - any related field, repeating field, or set of non-repeating

Page 91 - Get functions 91

180 FileMaker Functions Referenceoccurrence - any numeric expression or field containing a number, representing which instance of the text string

Page 92

Chapter 12 | Text functions 181Quote Format Quote(text) Parameter text - any text expression or field Data type returned text Description Return

Page 93 - Get(LastMessageChoice)

182 FileMaker Functions ReferenceDescriptionReplaces a string of characters in text with replacementText. Character replacement in text begins at

Page 94 - Get(LayoutAccess)

Chapter 12 | Text functions 183Parameterstext - any text expression or text fieldnumberOfValues - any numeric expression or field containing a n

Page 95 - Get(LayoutCount)

184 FileMaker Functions ReferencenumberOfWords - any numeric expression or field containing a numberData type returnedtextDescriptionReturns a tex

Page 96 - Get(LayoutNumber)

Chapter 12 | Text functions 185DescriptionConverts from Hankaku alphanumeric and symbols to Zenkaku alphanumeric and symbols.ExamplesRomanZenkak

Page 97 - Get(LayoutViewState)

186 FileMaker Functions ReferenceSubstituteFormatSubstitute(text;searchString;replaceString)Parameterstext - any text expression or text fieldsear

Page 98 - Get(MultiUserState)

Chapter 12 | Text functions 187DescriptionReturns text stripped of all leading and trailing spaces. Tip Use the Trim function to remove unneede

Page 99 - Get(PageNumber)

188 FileMaker Functions ReferenceCharacters within the non-Roman range are those belonging to the CJK symbols/punctuations area, Hiragana, Katakan

Page 100 - Get(PreferencesPath)

Chapter 12 | Text functions 189DescriptionReturns all letters in text as uppercase. Use the Upper function to ensure consistent data entry of su

Page 101 - Get(PrinterName)

Chapter 2 | Aggregate functions 19Note When a referenced field is a repeating field, the Average function returns the average of the values in

Page 102 - Get(RecordAccess)

190 FileMaker Functions ReferenceParametertext - any text expression or text fieldData type returnednumberDescriptionReturns a count of the total

Page 103 - Get(RecordID)

Chapter 13 | Text formatting functions 191Chapter 13Text formatting functionsText formatting functions can be used to change the color, font, si

Page 104 - Get(RecordModificationCount)

192 FileMaker Functions ReferenceRGBFormatRGB(red;green;blue)Parametersred - any numeric expression or numeric field containing a value ranging fr

Page 105 - Get(RecordNumber)

Chapter 13 | Text formatting functions 193Data type returnedtextDescriptionChanges the color of text to the color specified by the RGB function.

Page 106 - Get(RecordOpenState)

194 FileMaker Functions ReferenceExamplesTextColorRemove(“Red Text and Green Text”) returns Red Text and Green Text displayed in the field’s defau

Page 107 - Get(RequestOmitState)

Chapter 13 | Text formatting functions 195• SimplifiedChinese•OEM• Symbol• OtherExamplesTextFont(“Plaid”;“Courier”) returns the word Plaid in th

Page 108 - Get(ScreenHeight)

196 FileMaker Functions ReferenceFileMaker Pro looks for a font that matches the specified font name and font script character set. If no matches

Page 109 - Get(ScriptName)

Chapter 13 | Text formatting functions 197DescriptionRemoves all text formatting from text in a single action. All fonts, styles, font sizes, an

Page 110 - Get(ScriptParameter)

198 FileMaker Functions ReferenceDescriptionRemoves all font sizes in text, or removes the font size specified by sizeToRemove. If you don’t speci

Page 111 - Get(ScriptResult)

Chapter 13 | Text formatting functions 199• Extend• Strikethrough• SmallCaps• Superscript• Subscript• Uppercase• Lowercase• Titlecase• WordUnder

Page 112 - Get(StatusAreaState)

© 2006 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054FileMaker is a trademark of FileMak

Page 113 - Get(SystemDrive)

20 FileMaker Functions ReferenceCount(Field1;Field2;Field3) returns 3, 2, 1,1 when the calculation is a repeating field.Note When a referenced fi

Page 114 - Get(SystemLanguage)

200 FileMaker Functions ReferenceData type returnedtextDescriptionRemoves the specified styles from text in a single action. You can remove multip

Page 115 - Get(SystemPlatform)

Chapter 14 | Time functions 201Chapter 14Time functionsTime functions calculate times and manipulate time information. Click a function name for

Page 116 - Get(TextRulerVisible)

202 FileMaker Functions ReferenceHourFormatHour(time)Parametertime - any time value or field of type timeData type returnednumberDescriptionReturn

Page 117 - Get(UserCount)

Chapter 14 | Time functions 203SecondsFormatSeconds(time)Parametertime - any time value or field of type timeData type returnednumberDescription

Page 118 - Get(UserName)

204 FileMaker Functions ReferenceExamplesTime(4;14;32) returns 4:14:32.Time(4.5;10;30) returns 4:40:30.Time(4;15;70) returns 4:16:10.

Page 119 - Get(WindowContentHeight)

Chapter 15 | Timestamp functions 205Chapter 15Timestamp functionsTimestamps are used for a wide variety of synchronization purposes, such as mar

Page 120 - Get(WindowDesktopHeight)

206 FileMaker Functions ReferenceTimestampFormatTimestamp(date;time)Parametersdate - any calendar date or date fieldtime - any time value or time

Page 121 - Get(WindowDesktopWidth)

Chapter 16 | Trigonometric functions 207Chapter 16Trigonometric functionsTrigonometric functions are used to calculate degrees, angles, and othe

Page 122 - Get(WindowLeft)

208 FileMaker Functions ReferenceAtanFormatAtan(number)Parameternumber - any numeric expression or field containing a numeric expressionData type

Page 123 - Get(WindowName)

Chapter 16 | Trigonometric functions 209DegreesFormatDegrees(angleInRadians)ParameterangleInRadians - any numeric expression or field containing

Page 124 - Get(WindowTop)

Chapter 2 | Aggregate functions 21Example 1List (Field1; Field2) returns:whiteblackExample 2List(Field3) returns:redgreenblueExample 3List (Fiel

Page 125 - Get(WindowWidth)

210 FileMaker Functions ReferenceRadiansFormatRadians(angleInDegrees)ParameterangleInDegrees - any numeric expression or field containing a numeri

Page 126 - Get(WindowZoomLevel)

Chapter 16 | Trigonometric functions 211TanFormatTan(angleInRadians)ParameterangleInRadians - any numeric expression or field containing a numer

Page 127 - Logical functions

212 FileMaker Functions Reference

Page 128

Appendix A | Glossary 213Appendix AGlossary AAccess key (Windows)A key that activates a menu, menu item, or control when used with the ALT key.

Page 129 - Evaluate

214 FileMaker Functions ReferenceAuthenticationThe process of checking the validity of an account and password (if one is defined) before assignin

Page 130

Appendix A | Glossary 215ButtonAny layout object (a 3-D rectangle with a text label if created by the Button tool) that performs a specified scr

Page 131 - GetAsBoolean

216 FileMaker Functions ReferenceClient/server architectureThe relationship between two networked computers that share resources. The client reque

Page 132 - GetField

Appendix A | Glossary 217Also refers to opening a file created with a previous version of FileMaker Pro.DData Entry Only privilege setOne of the

Page 133 - GetLayoutObjectAttribute

218 FileMaker Functions ReferenceDriver managerThe control panel that manages communication between requesting applications and data sources. When

Page 134 - GetNthRecord

Appendix A | Glossary 219ExpressionA value or any computation that produces a value. Expressions can contain functions, field values, and consta

Page 135 - Logical functions 135

22 FileMaker Functions ReferenceData type returnedtext, number, date, time, timestampDescriptionReturns the highest valid value in:• a repeating f

Page 136

220 FileMaker Functions ReferenceField typeThe part of a field definition that determines what kind of data you can enter in the field and the kin

Page 137 - IsValidExpression

Appendix A | Glossary 221FormulaA set of instructions that FileMaker Pro follows to calculate a value used in a field or as the criteria for mat

Page 138

222 FileMaker Functions ReferenceGrand summary partUse grand summary parts to view and display summary information (totals, averages, and so on) i

Page 139 - Logical functions 139

Appendix A | Glossary 223IImportTo bring (copy) data from a table, another file, or another application into the current table. You can also imp

Page 140

224 FileMaker Functions ReferenceKeyA column (or columns) that makes a particular row unique (corresponds to a match field).LLabels layoutA predef

Page 141 - LookupNext

Appendix A | Glossary 225Layout typesFileMaker Pro includes six predefined layout types: Standard Form, Columnar List/Report, Table View, Labels

Page 142 - 1 to 4

226 FileMaker Functions ReferenceMMany-to-many relationshipA correspondence between data in database tables in which more than one record in the f

Page 143 - Number functions

Appendix A | Glossary 227Multi-key fieldA match field that contains more than one value, each on a separate line. A multi-key field can be used

Page 144

228 FileMaker Functions Reference1-away relationshipA correspondence between database tables in which two tables are directly related to each othe

Page 145 - Combination

Appendix A | Glossary 229PortalFor relational databases, a layout object in one table where you place one or more related fields to display in r

Page 146 - Factorial

Chapter 2 | Aggregate functions 23Parameters in curly braces { } are optional.Data type returnedtext, number, date, time, timestampDescriptionRe

Page 147 - Number functions 147

230 FileMaker Functions ReferenceRelated fieldFor relational databases, a field in one table that is related to a field in another table (or to a

Page 148 - Ln number()

Appendix A | Glossary 231SSchemaIn database terminology, a schema is the organization or structure of the elements, objects, and attributes of a

Page 149

232 FileMaker Functions ReferenceShared databaseA database file for which sharing has been enabled, which permits users to access the database fil

Page 150

Appendix A | Glossary 233Stacking orderThe order in which objects overlap on a layout. You can change this order by cutting and pasting objects

Page 151 - SetPrecision

234 FileMaker Functions ReferenceSystem formatsSettings you control with control panels to determine how dates, times, currency, and numbers displ

Page 152

Appendix A | Glossary 235TemplateOr Starter Solution. A pre-designed and formatted FileMaker Pro file, or web page, that you can copy and change

Page 153 - Truncate

236 FileMaker Functions ReferenceUnit of measureIn Browse and Layout modes, you can set the unit of measure to pixels, inches, or centimeters.Unst

Page 154

Appendix A | Glossary 237W, X, Y, ZWeb addressThe calculated expression that you enter in the Web Viewer Setup dialog box. A web address is not

Page 155 - Repeating functions

238 FileMaker Functions ReferenceXML (Extensible Markup Language)Instead of being a rigid file format, XML is a language for defining agreed-upon

Page 156 - GetRepetition

24 FileMaker Functions ReferenceParameterfield - any related field, repeating field, or set of non-repeating fields; or an expression that returns

Page 157 - Repeating functions 157

Chapter 2 | Aggregate functions 25StDevPFormatStDevP(field{;field... })Parameterfield - any related field, repeating field, or set of non-repeat

Page 158

26 FileMaker Functions ReferenceStDevP(Field2) returns 1.11803398... for a non-repeating field.StDevP(Field1;Field2;Field3) returns 2.16024689...,

Page 159 - Summary functions

Chapter 2 | Aggregate functions 27 In the following examples:• Field1 contains two repetitions with values of 1 and 2. • Field2 contains four re

Page 160 - GetSummary

28 FileMaker Functions Reference• several fields in the first matching record specified by (table::field1;table::field2;...). You can include fiel

Page 161 - Text functions

Chapter 2 | Aggregate functions 29DescriptionReturns the variance of a population represented by a series of non-blank values. The variance of a

Page 162

ContentsChapter 1 Introduction 11About functions 11Using this functions reference 11Functions reference (alphabetical list) 12Chapter 2 Agg

Page 163 - Text functions 163

30 FileMaker Functions Reference

Page 164 - FilterValues

Chapter 3 | Date functions 31Chapter 3Date functionsDate functions calculate dates and manipulate date information.Important To avoid errors wh

Page 165 - GetAsCSS

32 FileMaker Functions ReferenceDateFormatDate(month;day;year)Parametersmonth - the month of the year (a number from 1 to 12).day - the day of the

Page 166 - GetAsNumber

Chapter 3 | Date functions 33Data type returnednumberDescriptionReturns a number in the range 1 through 31, representing the day of the month on

Page 167 - GetAsSVG

34 FileMaker Functions ReferenceDayNameJFormatDayNameJ(date)Parameterdate - any calendar dateData type returnedtextDescriptionReturns a text strin

Page 168 - GetAsTime

Chapter 3 | Date functions 35DayOfYearFormatDayOfYear(date)Parameterdate - any calendar dateData type returnednumberDescriptionReturns a number

Page 169 - GetAsURLEncoded

36 FileMaker Functions ReferenceExamplesMonth(“3/19/2004”) returns 3. This example assumes that the operating system date format is set to MM/DD/Y

Page 170 - GetValue

Chapter 3 | Date functions 37Data type returnedtextDescriptionReturns the name of the month of date in Japanese. Important To avoid errors when

Page 171 - KanaHankaku

38 FileMaker Functions ReferenceData type returnednumberDescriptionReturns a number between 1 and 53 representing the week containing date, figure

Page 172 - Katakana

Chapter 3 | Date functions 39ExamplesYear(DateSold) returns the year stored in DateSold.Year(“5/5/2004”) returns 2004.Year(Date(Month(Get(Curren

Page 173 - LeftValues

4 FileMaker Functions ReferenceFieldIDs 45FieldNames 45FieldRepetitions 46FieldStyle 47FieldType 48GetNextSerialValue 49LayoutIDs 49

Page 174 - LeftWords

40 FileMaker Functions Reference

Page 175 - Text functions 175

Chapter 4 | Design functions 41Chapter 4Design functionsDesign functions return information about the structure of open database files. For exam

Page 176 - MiddleValues

42 FileMaker Functions ReferenceLayoutNames, page 50A list of the names of all layouts in the specified database file, separated by carriage retur

Page 177 - MiddleWords

Chapter 4 | Design functions 43DatabaseNamesFormatDatabaseNamesParameterNoneData type returnedtextDescriptionReturns a list of the names of all

Page 178 - NumToJText

44 FileMaker Functions ReferenceDescriptionReturns in a non-repeating text field the location in pixels of each side of fieldName and its rotation

Page 179 - Position

Chapter 4 | Design functions 45DescriptionReturns the specified field’s comment. The field name must be in the form tablename::fieldname to spec

Page 180

46 FileMaker Functions ReferenceParametersfileName - the name of an open database file (local or remote).layoutName - the name of a layout or tabl

Page 181 - Text functions 181

Chapter 4 | Design functions 47DescriptionReturns the number of repetitions of the repeating field fieldName as it is currently formatted on lay

Page 182 - RightValues

48 FileMaker Functions ReferenceExampleOn the Data Entry layout in the Customers database file, FieldStyle(“Customers”;“Data Entry”;“Current Custo

Page 183 - RightWords

Chapter 4 | Design functions 49GetNextSerialValueFormatGetNextSerialValue(fileName;fieldName)ParametersfileName - the name of an open database f

Page 184 - RomanZenkaku

| Contents 5Get(AllowToolbarState) 73Get(ApplicationLanguage) 74Get(ApplicationVersion) 75Get(CalculationRepetitionNumber) 75Get(Curren

Page 185 - SerialIncrement

50 FileMaker Functions ReferenceLayoutNamesFormatLayoutNames(fileName)ParameterfileName - the name of an open database file (local or remote).Impo

Page 186 - Substitute

Chapter 4 | Design functions 51ExampleLayoutObjectNames ("Customers";"Data Entry") returns a list of named objects in the Cu

Page 187 - Text functions 187

52 FileMaker Functions ReferenceExampleA database file called Human Resources has three tables: Company, Employees, and Addresses. Company::Compan

Page 188

Chapter 4 | Design functions 53ExampleScriptIDs(“Customers”) returns a list of all the script IDs in the Customers database file.ScriptNamesForm

Page 189 - WordCount

54 FileMaker Functions ReferenceExampleTableIDs(“University Database”) returns10650891065090for the University Database database file if two table

Page 190

Chapter 4 | Design functions 55Data type returnedtextDescriptionReturns a list of all value list IDs in fileName, separated by carriage returns.

Page 191 - Text formatting functions

56 FileMaker Functions ReferenceDescriptionReturns a list of the names of all value lists in fileName, separated by carriage returns.ExampleValueL

Page 192 - TextColor

Chapter 5 | External functions 57Chapter 5External functionsUse external functions to access FileMaker Pro plug-ins. Plug-ins add features to Fi

Page 193 - TextColorRemove

58 FileMaker Functions ReferenceExternalFormatExternal(nameOfFunction;parameter)ParametersnameOfFunction - the name of the external functionparame

Page 194 - TextFont

Chapter 6 | Financial functions 59Chapter 6Financial functionsFinancial functions calculate financial information, such as net present value and

Page 195 - TextFontRemove

6 FileMaker Functions ReferenceGet(RecordOpenCount) 105Get(RecordOpenState) 106Get(RequestCount) 107Get(RequestOmitState) 107Get(ScreenDep

Page 196 - TextFormatRemove

60 FileMaker Functions ReferenceFVFormatFV(payment;interestRate;periods)Parameterspayment - payment to be made per periodinterestRate - interest r

Page 197 - TextSizeRemove

Chapter 6 | Financial functions 61interestRate - interest rate.Data type returnednumberDescriptionReturns the net present value of a series of u

Page 198 - TextStyleAdd

62 FileMaker Functions ReferenceExamplesIn the following example, the PMT function calculates payments for purchasing a sports car costing $21,000

Page 199 - TextStyleRemove

Chapter 7 | Get functions 63Chapter 7Get functionsUse Get functions in scripts for error checking and prevention, or to capture information abou

Page 200

64 FileMaker Functions ReferenceGet(ApplicationVersion), page 75 Text representing the FileMaker Pro application version.Get(CalculationRepetition

Page 201 - Time functions

Chapter 7 | Get functions 65Get(LayoutTableName), page 97 The name of the table that the layout is displaying records from.Get(LayoutViewState),

Page 202

66 FileMaker Functions ReferenceGet(SystemPlatform), page 115 A number indicating the current platform.Get(SystemVersion), page 116 The version of

Page 203 - Time functions 203

Chapter 7 | Get functions 67Get functions exampleThis script uses the function Get(CurrentDate) to check each record in the found set to see if

Page 204 - Examples

68 FileMaker Functions ReferenceGet(AccountName)FormatGet(AccountName)ParameterNoneData type returnedtextDescriptionFor FileMaker authentication,

Page 205 - Timestamp functions

Chapter 7 | Get functions 69Data type returnedtext, number, date, time, timestamp, containerDescriptionReturns the contents of the field contain

Page 206 - Timestamp

| Contents 7GetAsBoolean 131GetField 132GetLayoutObjectAttribute 133GetNthRecord 134If 135IsEmpty 136IsValid 137IsValidExpression

Page 207 - Trigonometric functions

70 FileMaker Functions ReferenceParameterNoneData type returnedtextDescriptionReturns the name of the table that contains the active field (the fi

Page 208

Chapter 7 | Get functions 71Get(ActiveModifierKeys)FormatGet(ActiveModifierKeys)ParameterNoneData type returnednumberDescriptionReturns a number

Page 209

72 FileMaker Functions ReferenceDescriptionReturns a number representing the active repetition of a repeating field (the repetition that currently

Page 210

Chapter 7 | Get functions 73DescriptionReturns a number representing the starting character of the selected text. Returns the cursor's curr

Page 211

74 FileMaker Functions ReferenceDescriptionReturns a Boolean value representing whether toolbars are allowed to be visible. Returns 1 if toolbars

Page 212

Chapter 7 | Get functions 75Get(ApplicationVersion)FormatGet(ApplicationVersion)ParameterNoneData type returnedtextDescriptionReturns text repre

Page 213 - Glossary

76 FileMaker Functions ReferenceNote See FileMaker Pro help for information about running scripts in client/server and peer-to-peer environments.

Page 214

Chapter 7 | Get functions 77Data type returnedtimestampDescriptionReturns the host’s current date and time according to the system clock, to the

Page 215 - Glossary 215

78 FileMaker Functions ReferenceDescriptionReturns the current time according to the system clock, to the nearest second. The format of the value

Page 216

Chapter 7 | Get functions 79ParameterNoneData type returnedtextDescriptionReturns the name of the active custom menu set. If the active menu set

Page 217 - Glossary 217

8 FileMaker Functions ReferenceChapter 12 Text functions 161Exact 163Filter 164FilterValues 164GetAsCSS 165GetAsDate 166GetAsNumber

Page 218

80 FileMaker Functions ReferenceGet(DocumentsPath)FormatGet(DocumentsPath)ParameterNoneData type returnedtextDescriptionReturns the path to the do

Page 219 - Glossary 219

Chapter 7 | Get functions 81Get(ExtendedPrivileges)FormatGet(ExtendedPrivileges)ParameterNoneData type returnedtextDescriptionReturns a list of

Page 220

82 FileMaker Functions ReferenceDescriptionReturns the path to the folder of the currently running copy of FileMaker Pro. In Windows, the path for

Page 221 - Glossary 221

Chapter 7 | Get functions 83ParameterNoneData type returnedtextDescriptionReturns the full path indicating the location of the currently active

Page 222

84 FileMaker Functions ReferenceNotes• If the current calculation is stored and you specify its context, this function will be evaluated based on

Page 223 - Glossary 223

Chapter 7 | Get functions 85ParameterNoneData type returnedtextDescriptionWindows: returns the name of the current high contrast default color s

Page 224

86 FileMaker Functions ReferenceParameterNoneData type returnedtextDescriptionReturns the IP address of the host machine for the current database.

Page 225 - Glossary 225

Chapter 7 | Get functions 87Notes• If the current calculation is stored and you specify its context, this function will be evaluated based on th

Page 226

88 FileMaker Functions ReferenceRuntime errorsError NumberDescription-1 Unknown error0 No error1 User canceled action2 Memory error3 Command is un

Page 227 - Glossary 227

Chapter 7 | Get functions 89115 Specified menu set is not present116 Specified layout object is not present130 Files are damaged or missing and

Page 228

| Contents 9Upper 188ValueCount 189WordCount 189Chapter 13 Text formatting functions 191RGB 192TextColor 192TextColorRemove 193Te

Page 229 - Glossary 229

90 FileMaker Functions Reference409 Import order is invalid 410 Export order is invalid412 Wrong version of FileMaker Pro used to recover file413

Page 230

Chapter 7 | Get functions 91723 You do not have permission to add records to or modify records in the target table724 You do not have permission

Page 231 - Glossary 231

92 FileMaker Functions Reference900 General spelling engine error901 Main spelling dictionary not installed902 Could not launch the Help system 90

Page 232

Chapter 7 | Get functions 93Error codes marked with an asterisk (*) are returned only by web-published databases.Get(LastMessageChoice)FormatGet

Page 233 - Glossary 233

94 FileMaker Functions ReferenceGet(LastODBCError)FormatGet(LastODBCError)ParameterNoneData type returnedtextDescriptionReturns a string that show

Page 234

Chapter 7 | Get functions 95DescriptionReturns a number based on record access privileges available through the current layout. You assign the p

Page 235 - Glossary 235

96 FileMaker Functions ReferenceExampleReturns 3 when the file has three layouts.Get(LayoutName)FormatGet(LayoutName)ParameterNoneData type return

Page 236

Chapter 7 | Get functions 97Note See FileMaker Pro help for information about running scripts in client/server and peer-to-peer environments.Ex

Page 237 - W, X, Y, Z

98 FileMaker Functions Reference• 0 (zero) if the database file is in View as Form view• 1 if the database file is in View as List view• 2 if the

Page 238

Chapter 7 | Get functions 99Get(NetworkProtocol)FormatGet(NetworkProtocol)ParameterNoneData type returnedtextDescriptionReturns the name of the

Commentaires sur ces manuels

Pas de commentaire