Home » Categories » Solutions by Business Process » System Features

Default Text as Data Items

Datafile Software

Default Text as Data Items

Occasionally there is a requirement for a text data item to default to a particular character or phrase when adding records but allow occasional overtype. Usually this is achieved by defining a lookup to another database and copying this value in – for example if default text required on a Sales Order Header input then the value could be copied from the Sales Ledger Accounts file. This does mean that this input needs to a) be on every record in the lookup file and b) any new records in the lookup file need this value set also.

This new feature allows for the setting of the default text in the lookup database so that the value is updated for every existing and new record automatically and thus available to copy to the ‘main’ database.

Installation

The default text is achieved by a special naming convention of the data item name.

Data item must be a text (X) type field and the data item name must begin with the characters ‘!=’ followed by the actual default text. Item size should be set equal to this default text. The maximum size of the default text is 11 characters.

Notes

This option is intended for use in copy items and database extracts. It cannot be used to set default text on the ‘main’ database itself as whilst any default value can be overtyped on save of the record it would revert back to the default text (it also cannot be used in group items etc.)

Custom Fields
  • Release ID: 5.8
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Printing to Tobit Faxware / David
Viewed 8753 times since Wed, Jun 13, 2012
Document Design Manager - Converting A Document
Viewed 2269 times since Wed, Jun 13, 2012
Document Design Manager - E-Mail Settings
Viewed 2094 times since Wed, Jun 13, 2012
Alternate Image Viewer
Viewed 1549 times since Mon, Nov 25, 2013
Forecast Dates - Additional Options
Viewed 2010 times since Fri, May 27, 2016
Display Menu Name on Right-Click Configure
Viewed 1706 times since Wed, Jun 13, 2012
Special Data Item Names for Web Analysis
Viewed 1825 times since Tue, Jun 12, 2012
Improvements to Application Reports
Viewed 1682 times since Wed, Jun 13, 2012
Application Utilities Panel - Allow Scans Enquiry
Viewed 1765 times since Fri, Jun 8, 2012
F8-Zoom - Allow Other Searches and Enquiries
Viewed 3862 times since Fri, Jun 8, 2012