Hi, my first post so please bear with me. I'm not new to VBA but I have a problem for which I've been scratching my head for quite awhile. I have a long complex macro that reads data from several sources, mostly in a SQL server and in several SharePoint lists with ADO from different domains. This has been working for years now and just this week two of the SharePoint List connection give me the message "No value given for one or more required parameters.". I checked another two different SharePoint connections and they work fine. To troubleshoot the issue I modified the SQL statement to search where the errors might come from.
This SQL statement passes:
but this one doesn't:
The original SQL statement is a bit more complex but I think the two samples above gives the gist of the issue.
Some months ago I had a slight different issue and that was cause by a forced Microsoft patch on our company that created an error. A quick fix by Microsoft and another patch solved the issue. But I don't see on internet any reference to this on the last week. Have someone come across this issue and got a way to solve it?
Thanks
This SQL statement passes:
VBA Code:
SELECT * FROM Prj_Tracking_Roles
but this one doesn't:
VBA Code:
SELECT UserName FROM Prj_Tracking_Roles
The original SQL statement is a bit more complex but I think the two samples above gives the gist of the issue.
Some months ago I had a slight different issue and that was cause by a forced Microsoft patch on our company that created an error. A quick fix by Microsoft and another patch solved the issue. But I don't see on internet any reference to this on the last week. Have someone come across this issue and got a way to solve it?
Thanks