Antonio Linares wrote:Enrico,
The problem is that if a PICTURE is used that has a "/" or a "-" in the front, then the code will be wrong, as ::nPos should not be set to 1.
This may be the right code:
- Code: Select all Expand view RUN
elseif Empty( cText ) .or. RTrim( cText ) == " / /" .or. ;
AllTrim( cText ) == "0" .or. ;
RTrim( cText ) == " - -"
What do you think ?
Yes. Or just
- Code: Select all Expand view RUN
elseif Empty( cText ) .or. cText = " / /" .or. ;
AllTrim( cText ) == "0" .or. ;
cText = " - -"
::nPos = 1
::SetPos( ::nPos )
EMG