VA FileMan V. 22.0 Programmer Manual Banner


Main Chapter Getting Started Manual Advanced User Manual


Running an Init on Target System (10 of 16)

Installing Data

Next, the init brings in data that was sent with the files.

Depending on the developer's specifications, incoming data either overwrites or merges with data existing on the target system. In either case, if an incoming entry or subentry doesn't exist on the current system, one will be added. If an existing entry or subentry is found and if data is to be overwritten, each field's value will be replaced with non-null incoming values. Null values will not overwrite existing values. If data is to be merged, only those fields with null values will be updated with incoming values. Hence, when merging, new values will be added without altering any pre-existing ones.

Since the installation of data is dependent on whether or not an incoming entry or subentry already exists on the target system, the init must determine if they are the same. The process, described as follows, is repeated for each incoming entry or subentry:

Once the internal entry number on the target system for matching entries is found, it is used to place the incoming data, either by merging with or overwriting existing values.

NOTE: No audit trail is kept of data brought in by an init even if the audit flag is on for a field receiving data.


Reviewed/Updated: March 4, 2007