> I think I confused you. I can't even create a linked table. I
> belive that is needed to create a pass-through query, correct?

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Ok, I am using the IBM driver. The error I get is "to many indexes on
table". The error that I saw before was on someone elses PC. (I should have
tried it on mine to begin with). Is there a way around the "to many indexes
error" If not, is there a way ot use VBA to get araound it?
Thanks

Signature
Cyberwolf
Finder of Paths, Hunter of Prey
Ghost of the Night, Shadow of Day
The Wolf
> > I think I confused you. I can't even create a linked table. I
> > belive that is needed to create a pass-through query, correct?
[quoted text clipped - 4 lines]
> The only time I have found that a field name interfered with linking was
> when I encountered a SQL Server table that had a dot in the name of a field.
Rick Brandt - 29 Jan 2007 14:18 GMT
> Ok, I am using the IBM driver. The error I get is "to many indexes
> on table". The error that I saw before was on someone elses PC. (I
> should have tried it on mine to begin with). Is there a way around
> the "to many indexes error" If not, is there a way ot use VBA to get
> araound it?
Okay THAT error I have seen. When you link to an AS400 table every logical
file on the AS400 using that table will be treated as an index by Access and
if there are more than 32 then you cannot link to that table. However; if
you link to a logical file Access does not "see" all of the other logical
files so if you have a logical file that contains all of the data that the
physical file you are trying to link to then you should be able to link to
that.
If you only need read access then the passthrough query is another way
around the problem because a passthrough query does not care how many
indexes are on the table being selected from.

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com