Honestly? No. But I think because error trap routine was present twice. Does it mean i should code SQL API there?
Yes, it was present twice, as I said earlier.
I suggest you rename one of those routines, then there will not be a conflict. (As I said earlier)
As to where you use various API's, that is your decision.
John