New line in crystal report.
// replace dollar sign with new line in a string for crystal report formula field
if {vw_CashBank.VType} = 1 or {vw_CashBank.VType} = 3 then Replace ({vw_CashBank.DebitHead},"$" , ChrW(13))
else Replace ({vw_CashBank.CreditHead},"$" , ChrW(13))
//build a string with new line for crystal report formula field.
While rdr.Read
strYardDetails += """" & rdr("Title") & """ + ChrW(13) + "
End While
if {vw_CashBank.VType} = 1 or {vw_CashBank.VType} = 3 then Replace ({vw_CashBank.DebitHead},"$" , ChrW(13))
else Replace ({vw_CashBank.CreditHead},"$" , ChrW(13))
//build a string with new line for crystal report formula field.
While rdr.Read
strYardDetails += """" & rdr("Title") & """ + ChrW(13) + "
End While
0 Comments:
Post a Comment
Thanks a lot.
Subscribe to Post Comments [Atom]
<< Home