Yes. Or justAntonio 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:What do you think ?Code: Select all
elseif Empty( cText ) .or. RTrim( cText ) == " / /" .or. ; AllTrim( cText ) == "0" .or. ; RTrim( cText ) == " - -"
Code: Select all
elseif Empty( cText ) .or. cText = " / /" .or. ;
AllTrim( cText ) == "0" .or. ;
cText = " - -"
::nPos = 1
::SetPos( ::nPos )