Mike,

 

Perhaps it would help if you provide a little context on what you want to
accomplish such as how the "hard blank" character 255 is generated and why
you want to replace it with a ' '. I seem to recall (I could be wrong) that
a blank ' ' was not allowed as replacement in SRPL until later versions, so
maybe this is part of the problem. Also, did you look the case, collating
and folding tables in the rbase.cfg file?  

 

Javier,

 

Javier Valencia, PE

O: 913-829-0888

H: 913-397-9605

C: 913-915-3137

 

From: [email protected] [mailto:[email protected]] On Behalf Of Michael J.
Sinclair
Sent: Thursday, November 29, 2012 11:31 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Code that quit working

 

Hi All,

I have an app that was working just fine until recently, and now I can't
figure out why it is acting differntly.

 

I am running this code in Rbase for DOS...

 

Here is the code...

 

SET VAR vHARDBLANK = (CHAR(255))

UPDATE tablename SET columnname = (SRPL(columnname,.vHARDBLANK,' ',0))

 

The goal is to clean up the appearance of a report by changing any blanks to
a hard blank.

 

The code was working fine until yesterday, and now the above code erases the
letter 'Y'

Why is the letter 'Y' being treated like a blank?

 

Thanks

Mike Sinclair

 

Reply via email to