select income1 it=reccount() select expenses1 ip=reccount() nr=ip+it *messagebox(alltrim(str(nr))) if nr<1 messagebox('Please enter Income and/or Expenses!',0+16) return endifThe problem is that VFP counting also empty records, how can I check if at list one cursor has one line with one value (without creating new cursors by select where not empty...)?