Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
A.Acheson
in reply to: justinparfitt

It might be good practice to place "Option Explicit On" line in the header section of the code. This will help identify more issues. The sql string variable is being set before you have any string iproperty placed into it.  That should be located after the iproperty strings are created and before it is passed into the sql function. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan