Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Over the past year I have found your site to be EXCELLENT. Never have I been able to find so many answers to such vast problems and it is an excellent service..."

Geography

Where in the world do Tek-Tips members come from?
johnnygeo (Programmer)
11 Jul 12 11:39
I want to use Access ODBC to link to a table on an AS400 database. I can use Client Access ODBC to query these tables, but I want to link to them. I think the trouble is that the table name format is too complex for the link table dialog to handle.

For example:
the table I want to link to is in library ARDTA.139A and the table name is AR#ROTKT. I can query this using an ODBC passthrough query as long as I use

CODE

select * from "ARDTA.139A"."AR#ROTKT" 
When I use the link table dialog, I can see the table listed as

CODE

ARDTA.139A.AR#ROTKT 
i.e. no quotes to delimit the library from the table name.

When I select the table and try to link it, I get an error that the MS Access DB Engine cannot find the object 'ARDTA.139A.AR#ROTKT'

Is there a way to create a link where I can experiment with typing in my own table name, so I can punctuate it how I want? Maybe using VBA?


Thanks,
Johnny Geo

dhookom (Programmer)
11 Jul 12 12:48
Is there a reason you can't just use the pass-through? Do you need to edit the data in the table?

Duane
Hook'D on Access
MS Access MVP

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close