BROWSE NORMAL FOR EMPTY(dc_crdno) IF NOT thisform.NoCCMask replace dc_crdno WITH REPLICATE("*",12) + RIGHT(ALLTRIM(dc_crdno),4) ; FOR NOT EMPTY(trim(dc_crdno, CHR(0), chr(9), chr(10), chr(13), chr(32), chr(160))) endifI see the empty rows just fine. However, I still end up with the 12 * for empty rows. What should be the correct code?
replace dc_crdno WITH IIF(EMPTY(dc_crdno), '', REPLICATE("*",12) + RIGHT(ALLTRIM(dc_crdno),4)) allI give up.