sele acno,balance from deposit where date>=lndate and date<=lndate1 and balance<lnAmount into cursor ty brow close all