>it will hit an error after executing this statement >>> select curtemp. its says "curetmp.dbf does not exist" Thanks
In the sample you showed the name of the cursor was crsBilling. May be you used the wrong name in your next line of using the cursor?
If it's not broken, fix it until it is.
My Blog