Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 12 MAY 2000 03:28:49PM Jim Dierking wrote:

I am working on the UPS Export File which may not have any

carriage returns or other such characters. There is an right

arrow at the end of the export file which their upload will not

allow. What is this character? and… is there a way to suppress

it using AREV's export module? TIA, Jim


At 12 MAY 2000 04:24PM Bill Titus wrote:

The right arrow is ASCII(26), the DOS end-of-file character I believe. I'm afraid I can't suggest a way to get rid of it using Export.


At 12 MAY 2000 08:03PM Jim Dierking wrote:

Thanks Bill. We were able to get rid of it by xlate the dos

string to a variable, obtaining the length and stripping one digit,

then writing the string back to the dos file. Works perfectly.

Jim


At 13 MAY 2000 12:31AM Don Bakke wrote:

Hopefully your files will never grow more than 64K then.

[email protected]

SRP Computer Solutions


At 13 MAY 2000 03:03PM Bill Titus wrote:

Don,

Assuming the file IS larger than 64K, is there a simple way from within Arev to obtain the true size of the file in bytes so that you can OSOPEN, OSBREAD the last 100 bytes of the file, and then OSBWRITE back all but the last one CHAR(26)?


At 14 MAY 2000 01:07AM Don Bakke wrote:

Bill,

Yes, pretty much just the way you described it.

[email protected]

SRP Computer Solutions


At 14 MAY 2000 03:36AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Why not click here to visit our web site?';return(true)]Sprezzatura Group[/url] wrote:

Well the Char(26) should only be there if you have specified char(26) as the end of file character - so removing this definition from the export should work!

As for getting the end character - use the DIR command to get the exact length e.g.

Length=Dir('f:\arev3_1\datavol\export.txt')

(Fields 2 and 3 give you date and time).

Sprezzatura Group

World Leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/67089d5a549960f4852568dd006b0285.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1