1 Chai 2 Chang 3 Aniseed Syrup 4 Chef Anton 's Cajun Seasoning 5 Chef Anton 's Gumbo Mix
The SQL
Print the SQL statement before attempting to open the Recordset
Don't print any error message if an error is thrown, just return Null
Dim TestDict as xf_Dictionary
Set TestDict = xf.DbConnect.ReturnKeyAndValColumnAsDictionary("SELECT TOP 5 ProductID, ProductName FROM Products")
Debug.Print TestDict.DictionaryDetailsAsString()
Key Value