Converting DBF character field to memo problem

Converting DBF character field to memo problem

Postby cdmmaui » Thu Feb 26, 2009 3:55 am

I am having a problem converting two character fields to one memo, when I create
cVal1 := '1'
cVal2 := '2'
cStr := cVal1 + CHR(13)
cStr += cVal2 + CHR(13)
database->memofield := cStr

system should display
1
2
however it displays
1■2■
■ is actual a non-filled box
How do I correct this problem
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong

Re: Converting DBF character field to memo problem

Postby Armando » Thu Feb 26, 2009 4:18 am

Darrel:

Try with a couple named constants

cStr := cVal1 + CRLF
cStr += cVal2 + CRLF

Kind Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3211
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Converting DBF character field to memo problem

Postby cdmmaui » Thu Feb 26, 2009 4:47 am

Thank You, that worked!
*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
User avatar
cdmmaui
 
Posts: 689
Joined: Fri Oct 28, 2005 9:53 am
Location: Houston ∙ Chicago ∙ Los Angeles ∙ Miami ∙ London ∙ Hong Kong


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 85 guests