Compress Data Items

Code: I

This function is used with data items Which occur many times, when you want to use all occurrences of the data item with the individual occurrences, and the excess spaces removed.

The occurs data items must be redefined in the dictionary as one long data item, and it is on this data item that you must use this code.

Parameter

Value

Description

0

The length of the first data item.

Default 32nd

1

Separator.

The numeric value of the separator character (new line equal 10) If a new line is used it will be replaced by comma on prints with editing codes less than 5 (the 4 languages default editing tables)

Default comma.

2

The length of the following data items.

Default parameter as the 0th

Example: Redefine the name and address data item as one data item of 224 chars, and use In the code with a parameter 0 set to 32ndWhen you use this data item you will get the name and address presented as one long string, with the spaces removed and the elements separated by a comma.

Code: i

On update remove double spacing.

Parameter

Value

Description

0

Default

Remove double spacing

1

Convert first character after space two uppercase and all others two lower.

2

Phone number format

3

Remove all spaces and convert to uppercase.

At mera.dk we use cookie. Read  Hide