Topic Options
#18076 - 09/03/04 06:13 AM Data pane
stuartg Offline
OL Expert

Registered: 03/06/03
Posts: 713
Loc: Swindon, England
Hi
I have a data file containing Null (\000) characters.
The PP4 data pane and data selection screens will not show any characters that follow the Null characters on a record.
Example - the record contains 'ABCD\000EFG'. Only 'ABCD' is visible in the data pane.
A preview shows that the data has been read successfully and can be used on the form, but it is difficult to develop the form when the data remains invisible!
The data pane will show Null characters if they added explicitly by a user defined emulation, but not when they come from the data.
I have worked around this by editing my sample data file to replace the Nulls by Spaces.
Stuart

Top
#18077 - 10/01/04 05:55 AM Re: Data pane
Adrian Offline
OL Expert

Registered: 06/02/03
Posts: 217
Loc: UK
Hi Stuart,

It seems that nobody want to comment on this one so I will have a go.

As the Null 00H is arguably not a valid ASCII character I would always do what you did and remove them first or replace them with a space. If using PlanetPress Watch, this can be done as part of the process. Note that a file formatted for a printer should never normally contain a null.

As Line Printer emulation can't be expected to handle a null, User Defined is probably the best approach.

Adrian

Top