hi,
thank you for reply,
yes, mytable is empty,
via this code i must insert new bill (first bill)at my table,it works as under
thisform.text1.value=(RIGHT(STR(YEAR(DATE()),4),2) + '_'+RIGHT(STR(10000+laAarray+1,5),4))
before
thisform.text1.value=(RIGHT(STR(YEAR(DATE()),4),2) + '_'+RIGHT(STR(10000+laAarray+1,5),4))+1
thanks
ps:are you arabi
>Hi,
>
>Check whether the table contains data or not. Possibility is
>empty table
>
>Regards
>Abdulla