# End Notes

## Attributes

Attributes indicate the current status of various characteristics of a field. Bit numbers 0 to 15 are assigned specific meaning by the view API. Bit numbers 16 to 31 are reserved for view implementers to assign their own meaning.

The state of a static attribute does not change for the duration of the view handle instance being open. The state of a dynamic attribute can change at any time.

The mask equals 1 shifted left by the bit number.

Attribute | Kind | Bit | Mask | Meaning When Set
--- | --- | --- | --- | ---
Calculated | Static | 4 | 0x010 | Value is calculated non-interactively.
Changed | Dynamic | 0 | 0x001 | Value been changed since the last operation that retrieved or initialized the view's current record.
Check-editability | Static | 8 | 0x100 | Editable attribute can change dynamically.
Editable | Static/Dynamic | 2 | 0x004 | Value can be changed. This is a static attribute by default, and dynamic if the Check-editability is on.
Enabled | Dynamic | 1 | 0x002 | Field can be meaningfully used. In it absence most field operations are not permitted, and return an error.
Key | Dynamic | 3 | 0x008 | This field is a segment of the current key.
Presentation | Static | 6 | 0x040 | Presentation information can change dynamically.
Required | Dynamic | 7 | 0x080 | Value must be changed interactively before the record can be inserted.
Type | Static | 5 | 0x020 | Type information can change dynamically.

## Protocols

## Table Flags

Refer to chapter 3 of the SDK's "C Reference Guide" for detailed information on these flags.

Flag | Meaning When Set
--- | ---
Audit-stamp | The record contains a set of audit-stamp fields, used for multi-user concurrency.
Record-structure | The record is structured as follows: The record contains an audit stamp. The primary key is located at the start of the record. The primary key is comprised of contiguous key segments (fields). The audit stamp immediately follows the primary key. Note that at present all physical tables must use this structure.

## Key Flags

Primary keys are not permitted to have any of these flags set. Refer to chapter 3 of the SDK's "C Reference Guide" for detailed information on these flags.

Flag | Meaning When Set
--- | ---
Duplicates | There can be duplicate key values.
Modifiable | The key can be modified by an update operation.

This page was updated on 2006-Sep-07

Copyright © 2000–2006 Sage Accpac International, Inc.