Thread: FoxPro Some General Questions/Check if we have what to print

Check if we have what to print
print_no=0
select count ( *) as we_have_print  from CURLABELS  where print_no>0
print_no=we_have_print
select CURLABELS  
if print_no>0
* print labels
else
* sorry, no labels were chosen
endif