|
Re: Delete line of end text file
Yeah, sorry. That doesn't work.
I looked at some of my old 8.3 code where I had create each line of an EDI file ending with ~ but no CRLF and I ended up with something like
Create
Yeah, sorry. That doesn't work.
I looked at some of my old 8.3 code where I had create each line of an EDI file ending with ~ but no CRLF and I ended up with something like
Create
|
By
sherman levine
·
#192874
·
|
|
Re: Delete line of end text file
Leave your I/O file line as None, leave your data only on the first form, create a 2nd form, 2 wide, put ascii(13)&ascii(10). Output the the second form in the record prefix with the condition NOT
Leave your I/O file line as None, leave your data only on the first form, create a 2nd form, 2 wide, put ascii(13)&ascii(10). Output the the second form in the record prefix with the condition NOT
|
By
Wes Hein
·
#192873
·
|
|
Re: Delete line of end text file
If the output file is not too large, you can load it into a blob and thenremove the last 2 characters and then recreate the file.
update B = file2blb('c:\file.txt')
where B is a blob
If the output file is not too large, you can load it into a blob and thenremove the last 2 characters and then recreate the file.
update B = file2blb('c:\file.txt')
where B is a blob
|
By
magic9@aquari.com
·
#192872
·
|
|
Re: Delete line of end text file
Format = None
output trim(data)&chr(13)&chr(10)
This result :
Format = None
output trim(data)&chr(13)&chr(10)
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En
Format = None
output trim(data)&chr(13)&chr(10)
This result :
Format = None
output trim(data)&chr(13)&chr(10)
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En
|
By
Andres Quintas
·
#192871
·
|
|
Re: Delete line of end text file
The EOF function that I mentioned is to know the last line on a conversion of files process... from a IO entry to read to IO entry to write, this with Format=None.
The EOF function that I mentioned is to know the last line on a conversion of files process... from a IO entry to read to IO entry to write, this with Format=None.
|
By
Roberto Gauer
·
#192870
·
|
|
Re: Delete line of end text file
Perhaps you can clarify why this is needed.
I don't think there's actually an extra line created, the final text line just ends with chr(13)&chr(10)
You can tell for sure
Perhaps you can clarify why this is needed.
I don't think there's actually an extra line created, the final text line just ends with chr(13)&chr(10)
You can tell for sure
|
By
sherman levine
·
#192869
·
|
|
Re: Delete line of end text file
Set the IO properties to Format =None.
End each line except the last with chr(13)&chr(10). That is, output trim(data)&chr(13)&chr(10)
Alternatively, if you don't know
Set the IO properties to Format =None.
End each line except the last with chr(13)&chr(10). That is, output trim(data)&chr(13)&chr(10)
Alternatively, if you don't know
|
By
sherman levine
·
#192868
·
|
|
Re: Delete line of end text file
8.30
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En nombre de Steven Blank
Enviado el: Martes, 21 de Julio de 2020 03:31 p.m.
Para: main@magicu-l.groups.io
Asunto: Re: [magicu-l]
8.30
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En nombre de Steven Blank
Enviado el: Martes, 21 de Julio de 2020 03:31 p.m.
Para: main@magicu-l.groups.io
Asunto: Re: [magicu-l]
|
By
Andres Quintas
·
#192867
·
|
|
Re: Delete line of end text file
What version?
By
Steven Blank
·
#192866
·
|
|
Re: Delete line of end text file
The cursor is positioned on the next line and I want it to be positioned on the last line at the end
Regards
Andres
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En nombre de
The cursor is positioned on the next line and I want it to be positioned on the last line at the end
Regards
Andres
De: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] En nombre de
|
By
Andres Quintas
·
#192865
·
|
|
Re: Delete line of end text file
You can try changing the Format on IO properties to None, this stop the native line ending control from Magic.
Use the EOF function to check for the end of file reached... and for every line output
You can try changing the Format on IO properties to None, this stop the native line ending control from Magic.
Use the EOF function to check for the end of file reached... and for every line output
|
By
Roberto Gauer
·
#192864
·
|
|
Delete line of end text file
How to remove the blank line that is generated when reaching the end of a text output file
Regards
Andres
How to remove the blank line that is generated when reaching the end of a text output file
Regards
Andres
|
By
Andres Quintas
·
#192863
·
|
|
MSSQL DATETIME + Magic xpa 3.2 problem
Hi Group,
I have just faced the following problem with MSSQL database:
I have 2 DATETIME fields in MSSQL with database default value: 1901-01-01 00:00:00.
There is a date and a time field
Hi Group,
I have just faced the following problem with MSSQL database:
I have 2 DATETIME fields in MSSQL with database default value: 1901-01-01 00:00:00.
There is a date and a time field
|
By
Bakos Gyula
·
#192862
·
|
|
iOS v13 Modal window display issues
Has anyone come across the magic "windows" on some devices on IOS 13 not filling the screen properly - It happens on iPhone x and Ipad pros. The window sits inside the full-screen parameters, when you
Has anyone come across the magic "windows" on some devices on IOS 13 not filling the screen properly - It happens on iPhone x and Ipad pros. The window sits inside the full-screen parameters, when you
|
By
Callum@...
·
#192861
·
|
|
Re: Add digital signature to PDF
There are free programs available to create digital signatures with certificates on PDF documents:
http://wiki.cacert.org/PdfSigning
There are free programs available to create digital signatures with certificates on PDF documents:
http://wiki.cacert.org/PdfSigning
|
By
Luuk
·
#192860
·
|
|
Add digital signature to PDF
Dear All,
Are there any ways to add Digital signatures to mass produced PDFs? I would like to see if there are any free command line tool options, similar to pdftk?
Thanks in
Dear All,
Are there any ways to add Digital signatures to mass produced PDFs? I would like to see if there are any free command line tool options, similar to pdftk?
Thanks in
|
By
Frigyesi Viktória
·
#192859
·
|
|
Re: Blb2File Error
Hello Roman!
Yes, the SQL server is local to me. Didn't want to work with the productive server for it.
I followed the instructions (link) and I think it worked too.
Regards, wolfgang
Hello Roman!
Yes, the SQL server is local to me. Didn't want to work with the productive server for it.
I followed the instructions (link) and I think it worked too.
Regards, wolfgang
|
By
Wolfgang Mayer
·
#192858
·
|
|
Re: uniPaaS 1.9 - Table Control Heading Expression
Thanks Steve, yes this worked.
Lado
Thanks Steve, yes this worked.
Lado
|
By
Lado Wali
·
#192857
·
|
|
Re: uniPaaS 1.9 - Table Control Heading Expression
Lado,
Try replacing your expression with the following:
'ENG Hours' & ASCIIChr(10) & Trim(BG)
Steve Blank
Lado,
Try replacing your expression with the following:
'ENG Hours' & ASCIIChr(10) & Trim(BG)
Steve Blank
|
By
Steven Blank
·
#192856
·
|
|
uniPaaS 1.9 - Table Control Heading Expression
Hi Group,
Can someone suggest on how to fix the below problem:
I need highlighted column header to be read as below:
ENG Hours
07/27 - 07/31
See my expression in the picture below.
Thanks
Lado
Hi Group,
Can someone suggest on how to fix the below problem:
I need highlighted column header to be read as below:
ENG Hours
07/27 - 07/31
See my expression in the picture below.
Thanks
Lado
|
By
Lado Wali
·
#192855
·
|