|
This section describes the objects on the Function Executor graphical user interface (GUI).
The following GUI features are only present in the 32-bit version.
Click on an area of the image to learn more.
A main window displays for every open file. Click on an area of the image to learn more.
Click on an area of the image to learn more.
Table 12-2 lists the controls available in the Win16 version of the Function Executor. Some of the controls correspond to Btrieve operation parameters.
|
GUI Element
|
Description
|
Related Information
|
|---|---|---|
|
File
|
Lists the full path of all open data files and displays the current open file. You can move among open files, but you cannot open a file using this box. To open a file, refer to Opening a File Tasks .
This control corresponds with the Position Block parameter. Because each file name represents a position block, a file name can appear more than once in the list if the file has been opened more than once.
|
|
|
Transaction
|
Indicates whether the current operation occurs inside a transaction and the type of transaction, as follows:
Exclusive - Exclusive transaction. Concurrent - Concurrent transaction. Conc+ModLk - Concurrent transaction with Modify Lock (+500) bias. |
|
|
Operation
|
||
|
Current
|
Specifies the current operation code plus its bias (if any). The default is 0. If you are familiar with Btrieve operation codes, you can enter the desired code. Otherwise, use the List box to specify an operation. This control corresponds with the Operation Code parameter.
|
|
|
Last
|
Displays the code of the last operation that was executed on the current file.
|
|
|
List
|
Lists all Btrieve operations and their codes. The default is Open (0). You can move quickly through the list by entering the first letter of the operation you want to perform.
|
|
|
Get Key Bias (+50)
|
Instructs the MicroKernel to return only a key value, not a data record, on the current Get operation.
|
|
|
Modify Lock Bias (+500)
|
Instructs the MicroKernel to set a no-wait lock bias on an insert, update, or delete operation executed within a concurrent transaction.
|
|
|
Read Lock Bias
|
Adds one of five biases to the current operation, as follows. For files in exclusive transactions, the MicroKernel ignores any lock bias values you specify explicitly.
No Lock - Performs no locking. (Default) Single Wait (+100) - Attempts to lock a single record; if the record is already locked, it waits until the record is free. Single No Wait (+200) - Attempts to lock a single record and returns control if the record is already locked. Multiple Wait (+300) - Attempts to lock multiple records in the same file; if the records are already locked, it waits until the records are free. Multiple No Wait (+400) - Attempts to lock multiple records in the same file and returns control if the records are already locked. |
|
|
Key
|
||
|
Number
|
For most Get operations, specifies a key number, or index path, to follow for the current operation. For other operations, specifies such information as file open mode, encryption, or logical disk drive. This control corresponds with the Key Number parameter.
|
|
|
Buffer
|
Specify the path for the data file for which you want to perform a Btrieve operation.
|
|
|
Position
|
Indicates the position of the cursor within the Key buffer.
|
|
|
Hex Display
|
Click this check box to view the data in Hex format.
|
|
|
Clear
|
Click this button to clear the buffer field so that you can enter another data file.
|
|
|
Data
|
||
|
Length
|
Specifies the length (in bytes) of the Data Buffer. The default is 1024. For every operation that requires a data buffer, you must specify a buffer length. On many operations, the MicroKernel returns a value to the Data Length. Generally, you should always specify a Data Length before you execute an operation. This control corresponds with the Data Buffer Length parameter.
|
|
|
Buffer
|
Specifies a data value. For read and write operations, the Data Buffer contains records. For other operations, the Data Buffer contains file specifications, filtering conditions, and other information the MicroKernel needs for processing the operation. This control corresponds with the Data Buffer parameter.
|
|
|
Position
|
Indicates the position of the cursor within the Key or Data Buffer.
|
|
|
Hex Display
|
Click this check box to view the data in Hex format.
|
|
|
Clear
|
Click this button to clear the buffer field so that you can enter another data file.
|
|
|
Status
|
Displays a numeric status code returned by the MicroKernel and a brief message explaining the result of a Btrieve operation. For detailed information about these status codes and messages, refer to the Status Codes and Messages manual.
|
|
|
Execute
|
Performs the currently specified operation.
|
|
Note
The Win16 version of the utility performs wait lock simulation. Win16 applications cannot go into a wait loop. If you ask for a record lock using a Wait Bias and the record is locked by someone else, the engine returns Status Code 84 or 85 immediately to the application.
The Win16 Function Executor utility retries the operation until it gets the record or you click Abort which is displayed in the lower right corner of the Main window.
This dialog allows you to perform the Btrieve login operation using a graphical interface to specify the database URI. Click on an area of the image to learn about this dialog.
This dialog allows you to open a file with a graphical interface. Click on an area of the image to learn about this dialog.
This dialog allows you to open a file with a graphical interface. Click on an area of the image to learn about this dialog.
This dialog allows you to open a file with a graphical interface. Click on an area of the image to learn about this dialog.
This dialog allows you to control transactions during your Function Executor session. Click on an area of the image to learn about this dialog.
This dialog allows you to see all the operations you have performed. Click on an area of the image to learn about this dialog.
|
GUI Object
|
Description
|
Related Information
|
|---|---|---|
|
File information
|
Displays statistical information about the file.
|
|
|
Flags
|
Allows you to view the flags set for this file. Any flag that is set will have a check mark next to its listing in the dialog.
|
|
|
Keys
|
Allows you to view the keys defined in this file.
|
|
|
Key legend
|
Describes the single letter values that indicate Key attributes for the file.
|
|
|
Print button
|
Allows you to print the file statistics. Set up the printer using the File menu.
|
|
|
Disk button
|
Allows you to save the current file statistics to a description file, which you can later use to make a new file with the same characteristics.
|
|
|
Exclamation point (create new file)
|
Allows you to create a new file based on these file statistics.
|
This dialog allows you to see all the operations you have performed. Click on an area of the image to learn about this dialog.
|
GUI Object
|
Description
|
Related Information
|
|---|---|---|
|
File menu
|
Allows you to perform the following operations:
|
|
|
Settings menu
|
Allows you to specify the visual attributes of the History window.
|
|
|
Execute command
|
Loads the History Playback window
|
|
|
List of operations
|
Lists operations that you have recently performed. Each operation is logged with the following information:
|
|
|
Logging
|
Toggles the inclusion of future operations in the history list.
|
|
|
OpCode Names
|
Toggles the display in the Operation column between operation code names (such as B_OPEN) and operation code numbers (such as 0 for B_OPEN)
|
|
Chapter contents
Prev topic: Function Executor Concepts
|