You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
my guess (please read the FAQ and please use -dataex- to show data examples) is that your variable is a string variable; in that case, blank is missing; however, if you want to show "." (which will not be treated as missing), try this:
Code:
replace varname="." if varname==""
if you have a lot of variables you will want to place this in a loop and you can use -ds- or -findname- to find the full list of relevant variables; see their help files
Comment