Dec 16 2021 05:44 AM - edited Dec 16 2021 05:48 AM
I have created this utility in Excel (and connect to a MS Access) - the database -in Microsoft Access, is completed. I am in the second Phase of the project; I have successfully published database to SharePoint and will access it via Excel. The database I am using contains Linked Lists. The database open but crashes when reading tables.
Dec 16 2021 08:15 AM
Please explain what "publish to SharePoint" means.
Did you push the tables into SharePoint Lists? Or do you mean you put the accdb in a SharePoint location?
Dec 16 2021 08:27 AM
Dec 16 2021 09:17 AM
Dec 16 2021 09:23 AM
Dec 16 2021 09:34 AM
Thanks, that helps.
So Excel is used to pull data from saved queries in the accdb. And the saved queries are based on linked SP lists. Now I get it.
It's hard to know where the problem lies in a complex environment. I know that I've encountered problems getting Excel to even recognize queries in Access, but I don't do it often enough to have a lot of tricks up my sleeve.
As a trouble-shooting step, have you been able to link your Excel workbook to a very simple, one table query in Access just to verify that the link can be created? If so, then it's going to be down to the queries. If not, you probably are looking at permissions somewhere along the line.
Another consideration is whether any of the queries in Access are parameterized, i.e. contain criteria that reference things like controls on forms, for example. If so, that's probably a good suspect. The parameters have to be resolved at run time, such as referencing the current values in those controls.
If the queries do run properly in Access, and you can link to a simple test query, then the next thing I'd suspect would be something in the Excel VBA that is raising an unhandled error.
Another trouble-shooting step could also be to create a complex query based on local Access tables in the accdb to verify whether or not it is the SP list that is the problem.
Finally, it may well be that your hunch is right and that it is a permissions problem. Access needs permissions to open the linked SP lists. Perhaps there's a problem with Excel not having that permission. Testing step-by-step seems the only way to isolate where in the sequence the failure arises.
Dec 16 2021 10:18 AM
Dec 16 2021 10:23 AM
Dec 16 2021 10:28 AM
Dec 16 2021 10:39 AM
Dec 16 2021 10:55 AM
Dec 16 2021 10:58 AM
Dec 16 2021 11:05 AM
Dec 16 2021 12:45 PM - edited Dec 16 2021 12:46 PM
I work at the government and they are allergic to Microsoft Access or something like that. As a consultant I have to use what they give me. I asked originally for SQL Server but no cigar, then I asked for MySQL which they agree but they are not willing to install the drivers to connect (Grrr.....). So my last resource is SharePoint just to prove them it can be done. I am hoping I can get a SQL box from all this. I have been working on Access since the beginning I think it was Access 2.0, v1.0 was a disaster. Good old days; hmmm.... guess I am old too.
Dec 16 2021 01:05 PM
Dec 16 2021 01:10 PM