Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Change of Script from .xlsx to .txt empty fields

Hi Folks,
for reasons of simplyfication I changed the Import file / script from *.xlsx to *.txt

Now it noticed that *.txt has another Approach to empty fields in the file.

Whereas <Rechnung={"*"}> gives me on Basis *.xlsx only those fields which are not empty,
this formula gives me on Basis *.txt also those which are empty.

The formula <Rechnung={"?*"}> will return only those fields which are not empty in *.txt.

The *.txt fields are also giving me the 'empty value' as selection possibility, which is not the
case in *.xlsx files.

Here the bottom of the script:
FROM
RS Files\RS Startup Auftrag.TXT]
(txt. Codepage is 1252, no Labels, delimiter is '\t', msq);

I labelled it the way that:  @23 as Rechnung

Please assist, thank you so much in advance!

Wolfgang

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

From the ref manual:

set NullInterpret=' ';

set NullInterpret =;

will NOT return null values for blank values in Excel (but it will for a csv text file)

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

From the ref manual:

set NullInterpret=' ';

set NullInterpret =;

will NOT return null values for blank values in Excel (but it will for a csv text file)

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Anonymous
Not applicable
Author

Hi Jonathan,

I should spend some free time, if any , into the study of this and other Manuals.

Thanks a lot! Your saved my day!

Wolfgang