Application |
|
---|---|
Closes all windows and quits the current application. |
|
Starts an external application. |
COM |
|
---|---|
Creates a reference to the specified type library file, allowing the current script to access the items described in the type library. |
|
Creates a reference to a new COM object. |
|
Used to reference the current callback object from within a method defined for that callback object. |
Commands |
|
---|---|
Sets a command to the checked state |
|
Disables a command. |
|
Enables a command. |
|
Makes the named command invisible every place it is displayed, |
|
Performs the action for the specified command. |
|
Makes the named command visible every place it is displayed |
|
Sets a command to the unchecked state |
|
Sets a command to the checked state |
Currency |
|
---|---|
Returns the current value of the operating system’s decimal digits setting. |
|
Sets the default rounding behavior for calculations performed in the current script. |
|
Converts a currency or variable currency value to a string and applies a format. |
|
Returns the total number of digits available for a variable currency field or variable. |
|
Returns a rounded value of a currency or variable currency field. The field can be rounded on either side of the decimal separator. |
|
Returns the number of decimal digits for a variable currency field or variable. |
|
Sets the decimal precision of a currency or variable currency field. |
|
Returns a truncated value of a specified currency or variable currency field. The field can be truncated on either side of the decimal separator. |
Date |
|
---|---|
Adjusts the month portion of a given date. |
|
Retrieves the day portion of a given date. |
|
Returns the day of the week for a given date. |
|
Returns the last date of the month for a given date. |
|
Creates a date value from three integer values. |
|
Retrieves the month portion of a given date. |
|
Creates or modifies a date. |
|
Returns the current date from either the current computer or the server the computer is accessing. |
|
Retrieves the year portion of a given date. |
Exception handling |
|
---|---|
Exits the current instance of the specified program structure. |
|
Restarts the current script after an exception. |
|
Restarts executing sanScript statements in a try...end try block after an exception. |
|
Throws a user exception or rethrows the current exception. |
|
Throws a system exception for an error that has occurred for a table. |
|
Implements structured exception handling in an application. |
Error handling |
|
---|---|
Allows verifying the state of computation at a given point in a script. |
|
Checks the value of the err() function for the last operation on the specified table and displays a message. |
|
Indicates whether the last edit statement retrieved an existing record or reserved space for a new record. |
|
Returns the result of the last operation on a table. |
|
Creates an error dialog box displaying a specified string. The dialog may also contain a Help button that will reference a specified entry in the help system. |
|
Returns the native error code for the last table operation on a specified table. |
|
Creates a warning dialog box displaying a specified string. The dialog may also contain a Help button that will reference a specified entry in the help system. |
Fields and window objects |
|
---|---|
Adds a specified string to a specified list field. Can also add a numeric item associated with the specified string. |
|
Retrieves the size of the specified array field or variable. |
|
Creates a reference to a window field. |
|
Changes the text for an item in a menu or a list field. |
|
Returns a boolean value indicating whether any of the non-button fields in a window or form have been changed. |
|
Highlights a specified item in a multi-select list box or places a check mark next to an item in a button drop list. |
|
Indicates whether a specified position in a multi-select list box is selected or an item in a button drop list is checked. |
|
Clears the specified field, or list of fields. |
|
Copies matching components from one composite to another. |
|
Returns the number of items in a menu or list field. |
|
Returns an integer indicating which component of a composite that focus has moved from. |
|
Returns the data type associated with a field. |
|
Provides default qualification for window names within a script. |
|
Removes an item from a list field or visual switch. |
|
Returns the difference between a field’s previous value and its current value. |
|
Disables a field or multiple fields. |
|
Disables a specific item in a button drop list. |
|
Indicates whether a given field is empty. |
|
Enables a field or multiple fields. |
|
Enables a specific item in a button drop list. |
|
Sets the specified field to the maximum value each field’s data type will allow. |
|
Returns true if the specified field is set to its maximum value. |
|
Returns the numeric position of a data item in a list field that is associated with the specified numeric value. |
|
Returns the numeric position of a specific item in a menu or list field. |
|
Moves the input focus to a field. |
|
Converts a currency or variable currency value to a string and applies a format. |
|
Makes the named field or fields invisible and inaccessible to the user. |
|
Inserts an item into the specified position in a list field. |
|
Returns the numeric value associated with the item in the specified position in the specified list field. |
|
Returns the text value in a specified position in a menu or list field. |
|
Returns the length of a specified string, string field or text field. |
|
Prevents a user from changing the contents of the specified field or fields. |
|
Changes the position of a field in a window. |
|
Retrieves the previous contents of a field after it has been changed. |
|
Sets the length of a component of an extended composite. |
|
Sets the separator for a composite and controls whether scroll arrows are displayed. |
|
Updates and redisplays the specified field or fields. |
|
Changes the display size of a specified field. |
|
Restarts processing on a field. |
|
Returns a value to a field in a different form that has requested a value. |
|
Sets a field or variable to the value of an expression. |
|
Sets the decimal precision of a currency field. |
|
Makes the specified field or fields visible and accessible to the user. |
|
Removes the highlight from a specified item in a multi-select list box or unchecks an item in a button drop list. |
|
Allows a user to access previously locked fields. |
Files |
|
---|---|
Allows the user to select a file from the operating system. |
|
Allows the user to name and save an export file. |
Forms |
|
---|---|
Indicates whether the contents of a form or window have changed. |
|
Clears the change flag for a window or form. |
|
Clears the specified form. |
|
Closes the specified form. |
|
Provides default qualification for form names within a script. |
|
Sets the change flag for the specified window or form. |
|
Indicates whether a specified form or window is open. |
|
Opens the specified form. |
|
Opens a form for which the name is specified at runtime. |
|
Indicates whether all the required fields in a form or window contain values. |
|
Clears a form and places the focus in the first field of the main window of the form. |
|
Returns a value to a field in a different form that has requested a value. |
Macros |
|
---|---|
Runs a Dexterity macro. |
Menus |
|
---|---|
Places a check mark next to a specified menu item. |
|
Indicates whether a specified menu item has a check mark by it. |
|
Returns the number of items in a menu or list field. |
|
Disables a menu item. |
|
Enables a menu item. |
|
Returns the numeric position of a specific item in a menu or list field. |
|
Hides the specified menu item. |
|
Returns the text value in a specified position in a menu or list field. |
|
Shows the specified menu item. |
|
Removes a check mark from next to a menu item. |
Messages and prompts |
|
---|---|
Displays a dialog box and returns a value indicating which button the user clicked. |
|
Generates one of three sounds. |
|
Checks the value of the err() function for the last operation on the specified table and displays a message. |
|
Displays messages in Dexterity test mode. |
|
Creates an error dialog box displaying the specified string. |
|
Allows the user to select a file from the operating system. |
|
Retrieves the message string associated with a specified message ID. |
|
Creates a dialog box and returns a string entered by the user. |
|
Displays a dialog that allows the user to specify a file name and location for an export file. |
|
Substitutes text items for replacement markers in a string. |
|
Creates a warning dialog box displaying the specified string. |
Numerics |
|
---|---|
Returns the absolute value of an expression. |
|
Clears a specified bit and returns the value. |
|
Sets a specified bit and returns the value. |
|
Tests the status of a bit. |
|
Allows you to decrease a numeric value by a specified amount. |
|
Returns the difference between a field’s new value and its old value. |
|
Returns the hexadecimal equivalent of an integral value. |
|
Allows you to increase a numeric value by a specified amount. |
|
Returns the greater of two values. |
|
Returns the lesser of two values. |
|
Converts a numeric value to a string. |
|
Returns a numeric value corresponding to the first set of numbers encountered in the specified string. |
Process groups |
|
---|---|
Indicates the beginning of a group of procedures that are to be processed as a single entity. Also specifies details of how the group should be processed. |
|
Indicates the end of a process group defined by the begingroup statement. |
Program structures |
|
---|---|
Allows a series of statements to run on a conditional basis. |
|
Continues the current instance of the specified loop type. |
|
Exits the current instance of the specified program structure. |
|
Repeats a series of statements a given number of times. |
|
Runs a series of statements when a condition is met. |
|
Runs a series of statements until a condition is met. |
|
Runs a series of statements while a condition is met. |
Reports |
|
---|---|
Prepares a predetermined report to be printed. |
|
Prepares a report, specified when the application is running, to be printed. |
Resources |
|
---|---|
Returns the resource ID for the specified resource. |
|
Returns the technical name for the specified resource. |
Script controls |
|
---|---|
Halts the current script. |
|
Starts the specified procedure. |
|
Starts a stored procedure on the current data source. |
|
Starts a procedure that is specified at runtime. |
|
Stops a field’s change script from automatically running once the force change statement has been issued for that field. |
|
Opens the Script Debugger window and causes the current script to stop processing at that point. |
|
Compiles and executes sanScript code at runtime. |
|
Runs the change script for a field when the focus leaves the field, regardless of whether the field’s contents have changed. |
|
Ascertains whether an optional parameter has been supplied to a procedure or function. |
|
Runs the change script for a given field. |
|
Starts a script when other script processing is completed. |
Scrolling windows |
|
---|---|
Runs the line delete script for the scrolling window. |
|
Switches between normal and expanded scrolling window line sizes. |
|
Fills the scrolling window with data from a specified table. |
|
Makes the specified scrolling window invisible and inaccessible to the user. |
|
Runs the line insert script for the scrolling window. |
|
Changes the position of the specified scrolling window. |
|
Skips specified records during fill and scrolling processes. |
|
Makes the specified scrolling window visible and accessible to the user. |
Sound |
|
---|---|
Generates one of three sounds. |
Strings |
|
---|---|
Returns the ASCII value of the first character in a string. |
|
Returns a one-character string corresponding to the specified ASCII value. |
|
Indicates whether a string expression contains only alphabetic characters. |
|
Returns the length of a specified string, string field or text field. |
|
Returns the specified string in lower case. |
|
Adds a specified string to the beginning, end, or both the beginning and end of another specified string. |
|
Returns the starting position of a given string within another text or string field. |
|
Replaces a portion of a given string with another string. |
|
Converts a numeric value to a string value. |
|
Substitutes values for replacement markers in a string. |
|
Retrieves a portion of a given string. |
|
Removes a specified string from the beginning, end, or both the beginning and end of another specified string. |
|
Returns the specified string in upper case. |
|
Derives a numeric value from a set of numeric characters in a string. |
System calls |
|
---|---|
Returns the current value of the operating system’s decimal digits setting. |
|
Calls a function in a Dynamic Link Library (DLL). |
|
Returns the physical name of a global field, the physical name of a table, or the column name of a field in a SQL table. |
|
Returns the resource ID for the specified resource. |
|
Returns the current date from either the current computer or the server the computer is accessing. |
|
Returns the current date and time from the current computer. |
|
Calls a Dexterity system command. |
|
Returns the current time from either the current computer or the server the computer is accessing. |
|
Returns the technical name for the specified resource. |
Tables |
|
---|---|
Creates a reference to a table. |
|
Reads a record and actively or passively locks it. |
|
Clears the table buffer for the specified table. |
|
Closes the specified table. |
|
Retrieves the value from a specified field in a table. |
|
Copies fields from the table buffer to the window buffer. |
|
Copies matching fields from one table buffer to another. |
|
Copies information from the specified table buffer to the specified window buffer. |
|
Copies information from the specified window buffer to the specified table buffer. |
|
Copies fields from the window buffer to the table buffer. |
|
Counts the number of records in a table. |
|
Removes the named table from the operating system. When using the SQL database type, delete table can remove the table’s data, but leave the table structure. |
|
Reads or reserves a record from a table. |
|
Indicates whether the last edit statement retrieved an existing record or reserved space for a new record. |
|
Sets every field in the table buffer for the specified table to the largest value represented by the field’s data type. |
|
Reads a record from a table without locking the record. |
|
Returns the number of a named table key. |
|
Opens the specified table using the specified options. |
|
Limits table access to a portion of the table. |
|
Copies records in the current range from a source table to a destination table. |
|
Allows you to apply additional restrictions to a range of records in a table. |
|
Releases a locked or reserved record. |
|
Removes a record or range from a table. |
|
Saves the contents of the table buffer to a table. |
|
Totals each field that has a numeric data type (integer, long integer or currency) in a specified range. |
Time |
|
---|---|
Retrieves the hour portion of a given time. |
|
Retrieves the minute portion of a given time. |
|
Creates a time value from a given set of numbers. |
|
Retrieves the seconds portion of a given time. |
|
Returns the current time from either the current computer or the server the computer is accessing. |
Transactions |
|
---|---|
Indicates whether a database type has transaction capability. |
|
Starts a set of table operations. |
|
Ends a set of table operations. |
|
Discards transaction results. |
Triggers |
|
---|---|
Used to refer to resources when registering triggers. |
|
Retrieves the value from a specified field in a table. |
|
Stops processing of trigger processing scripts. |
Windows |
|
---|---|
Halts the process of closing a window. |
|
Indicates whether the contents of a form or window have changed. |
|
Clears the change flag for a window or form. |
|
Clears the specified window. |
|
Closes all palettes. |
|
Closes the specified window. |
|
Closes all standard windows and palettes. |
|
Copies the contents of matching fields from one window to another. |
|
Sets the change flag for the specified window or form. |
|
Indicates whether a specified form or window is open. |
|
Changes the position of the specified window. |
|
Opens the specified window. |
|
Indicates whether all the required fields in a form or window contain values. |
|
Changes the size of a window. |
|
Clears a window and places the focus in the first field of the window. |
|
Changes the display name of a window at runtime. |