Actually, this function doint what you requested. It counts pay_for_each_call. I urge you to look at VFP Help for explanation of each VFP command used.
>thank you for your hel...i'm sorry i'm very new to fox..
>whta exactly is that function doing..?
>its taking the code from the rate tabel and ordering it
>and then its taking the firs 6 digits form where(? is ccallnumber)
Edward Pikman
Independent Consultant