Hello Joop!
Wednesday September 03 1997 23:13, Joop Buker wrote to All:
JB> I have tried to enter them in a field with DBU: typing 003 while holding
JB> the ALT-key; or within a programm: REPLACE XXX WITH CHR(003). But that
JB> doesn't work, although this procedure works fine for high ASCII symbols,
JB> for instance CHR(137) or CHR(219).
I've create a dbf for testing purpose. I use Clipper 5.1 and with the DBU
utility I can replace the field with chr(003) or chr(001) without problems.
You can't use it with the ALT-GR key + numpad because some of those
characters are the codes of movement keys.
Did you try in your application to use variables ?
I'm quite certain that if you do this :
->
//marker=the_code_you_want
// let say marker=3
marker=3
test='Johnston'+chr(marker)+'John'+chr(marker)+'Mr.'+chr(marker)
appe blan
repla name with test
->
You'll have the result you want. I use low ascii symbols (1->35) in one of my
applications and this work very well.
JB> Is there anybody who has a solution for this problem.
Normally, if you adapt the code I gave, it has to work.
Hoping being of help,
Jean-Lievin
--- GoldED 2.41+
---------------
* Origin: Visit my homepage at http://ebs.be/jlp (2:291/742.1)
|