hey grovelli-262555
look at the VBA-code, it works! I develop on SQL SERVER with an account at Windows Security with admin rights.
Calling
SELECT dbo.udf_GetStuff (44, 22) AS retVal
inside an Access query (in SQL view) doesn't work, but I don't care cause VBA is what I needed 😎
--
candide
________Panta rhei