![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Get functions > Get(RecordOpenState) function |
|
|
| Get(RecordOpenState) function |
| Format |
Get(RecordOpenState) |
| Parameter |
| None |
| Data type returned |
| number |
| Description |
| Returns a number representing the state of the current record. |
| Returns: |
| 0 for a closed or committed record. |
| 1 for a new record that hasn't been committed. |
| 2 for a modified record that hasn't been committed. |
| Notes |
| If you specify the context for the current calculation, this function will be evaluated based on that context; otherwise, it will be evaluated based on the context of the current window. |
| See Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments. |
| Example |
| Returns 1 if the current record is a new record that hasn't been saved. |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Get functions > Get(RecordOpenState) function | Next Page |