LOCAL invyear,billno invyear=4 billno=1 thisform.text1.value=RIGHT(STR(1e5+BillNo,6),4)+'-'+RIGHT(STR(invYear,4),2)