I see you're using part of my UDF, but you changed it. The question is why ? What was your intention ?   If you need your own "easier to use" Function then you should make your functions based on UDF function. So you should: create wrapper. By the way. I use this UDF for a long time (started from _sql.au3 and last few months I changed almost everything making ADO.au3 ), and for this UDF I did wrapper, created under my specific CRM application.   EDIT: If you make d