Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / August 2004

Tip: Looking for answers? Try searching our database.

Access Link to Excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jamie - 01 Aug 2004 21:12 GMT
I have 2 tables in Access. One of these is linked to an Excel worksheet. I
would like to create a form that shows information from the Access Table and
3 fields from the Linked Access Table.

Primary Key is StudID in the Access Table.
There is also a double numerical field in the Excel worksheet (and the
linked Access table) that contains the same number.

When I tried to set a relationship for StudID, my only choices were
one-to-many of "indeterminate". (I've tried them all - although what I need
is a one-to-one relationship).

When I open the form, instead of the 8 records I expect to see, I get 80 (10
for each person).

Question is, can I have a form that contains info from the Access table and
the linked table?

Thank you - Jamie
John Nurick - 02 Aug 2004 07:11 GMT
Hi Jamie,

What's happening here is that a one-to-one relationship can only be
created when all the fields involved have unique indexes - but since
linked Excel tables aren't indexed you can't have a one-to-one
relationship involving one. (And since it appears that there are more
rows in the linked table than in the native table, you don't have a
one-to-one relationship in reality anyway.)

>I have 2 tables in Access. One of these is linked to an Excel worksheet. I
>would like to create a form that shows information from the Access Table and
[quoted text clipped - 15 lines]
>
>Thank you - Jamie

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
Jamie - 06 Aug 2004 22:59 GMT
John -

Thanks for your answer.

Jamie

> Hi Jamie,
>
[quoted text clipped - 29 lines]
>
> Please respond in the newgroup and not by email.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.