LOCAL lbFlUsed IF NOT USED("Stud") USE Stud IN 0 lbFlUsed = .t. ENDIF SELECT Stud APPEND FROM (DBF("csrCourseStats")) ********************** scan replace no with thisform.text1.valie&& if i choice no 3 i see al no at my table is 3 endscan **************************************8 IF lbFlUsed USE IN Stud ENDIFthanks