main logo
Subject: RE: STRTRAN & Reports
Author: "Nancy Folsom"
Posted: 2004/03/31 15:29:58
 
View Entire Thread
New Search


Pablo-

> I have a nice report, in some fields shown in the report I
> need to transform what it's shown.
>
> Example:
> I have name_customer in the report.
> need to replace all "C" characters with "X", and "D"
> characters with "Y", then show the report.

In this case you want CHRTRAN(), not STRTRAN().

> Can I do this without touching the source cursor, I mean,
> only modifying the report. I am trying with strtrans(). Is it
> possible? where should I have to put strtrans()?

You just put the expression in the report field.


Regards-
Nancy Folsom
Pixel Dust Industries
Author _Debugging_Visual_FoxPro_Applications_
http://www.hentzenwerke.com/catalogpricelists/debugvfp.htm



 
©2004 Nancy Folsom
<-- Prior Message New Search Next Message -->