Microsoft Access
--
Questions
--
Followers
Top Experts
Up until this weekend several of my MS Access databases have been running without connection linking error. That is until today, and have now received the following error message:
There are too many indexes on table WFALREP. Delete some of the indexes on the table and try the operation again.
I have had the IBM AS40 admnistrator look into the table to see what indexes are running or IF they can be modified. He is unfamiliar with the indexes and or if they can be modified.
At the present time we are dead-in-the-water.
Does anyone know a workaroudn, if any, or how/where to modify the AS400 table indexes?
I have also tried opening a 'clean' Access db with no success. I am using MS Office 2010.
My SQL 2008 server seems to be connecting and pulling the same table without errors. I cannot use the SQL as a link because the data is static and must be imported daily.
ConnectionIndexError.jpg
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
It is interesting the the AS400 admin is at a loss about the indexing...?
All I can say is that youi make sure you are using the most up-to-date drivers for connecting the as400 to Access.
You may ultimately have to contact your data vendor for the AS 400 (IBM, ...etc)
JeffCoachman
That's about where I am at this time.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
DspDbr YourSchema/YourTable
The output would show you all the indexes.
HTH.
DaveSlash

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
In System i Navigator there are 34 Indexes and of those 12 are not Valid. There is no selection to delete the invalid indexes. All the others are valid. The Owner for those are all QPGMR
When you say "12 are not Valid", what exactly do yo mean by that?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
If you use APIs to retrieve the descriptions, there is a 'Valid' indicator that I usually see being set to 'No' after a restore when the rebuilds are still going on. I use the flag to decide if database restores have completed to a point where files are useful. But I don't know if this is the same indicator value.
I'd guess it's a HTE database from the schema name. If so, it's not likely that anything can be done about the sheer (apparently excessive) number of indexes. If it's from HTE, I'd ask their Support group about it.
It looks as if a number of the indexes are 'S'elect/'O'mit versions of other indexes. I don't know what the actual Access problem is. I suspect it's just from its built in limitations. But it might be sensitive to shared access paths.
If so, it could be possible for HTE Support to recreate the indexes in a sequence that ensures no duplication of indexes. (Long shot, but maybe.)
Best choice is probably not to use Access to link to a complex database.
Tom
One trick you may be,able to use is to create a db2 alias or view, and attach the alias or view as a table in access.
like Tom said, Better approach is to avoid using a desktop database tool like access with large production databases. Not what it is designed for.
Rewriting the dozens of Access databases that were previously written is almost unfathomable, especially since I'm the only one that works databases and Excel formula spreadsheets.
I have submitted a work request to SunGard and am trying to understand what occurred and what can be done to remedy the issue. I would rather have a full understanding than go off blind and accept a solution without comprehending the issue(s).
I have always trusted the experts here on EE and their experience too. Majority of my best solutions have come from you experts...
So far, I have gained a lot of experience in this blog on using AS400 inner workings. I’ve stepped into the ‘backdoor’ of the AS400 and finding how it can be customized or views, etc. I know I'll probably create a View to facilitate a solution. Ironically another table GM310AP is having the same problem. And I have asked our AS400 Administrator to advise SunGard of the issue I am having. With Tom's explanation, I will be better off explaining and understanding what is or has happened.
Please continue to submit your blog entries, maybe and hopefully another user, as myself, can learn much from you guys. We may not become experts, but will be better off with more knowledge.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Microsoft Access
--
Questions
--
Followers
Top Experts
Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.