create cursor x1 ( l1 l ) append blank ? x1.l1, isblank( x1.l1 ), empty( x1.l1 ) scatter memvar ? isblank(m.l1) gather memvar ? x1.l1, isblank( x1.l1 ), empty( x1.l1 ) replace l1 with .f. ? x1.l1, isblank( x1.l1 ), empty( x1.l1 ) replace l1 with .t. ? x1.l1, isblank( x1.l1 ), empty( x1.l1 )I had a situation where I really had to knoww if the user entered 0 or not and the only reliable way I found was to use NULLs.