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 / Database Design / February 2008

Tip: Looking for answers? Try searching our database.

table and query relationship

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Souris - 26 Feb 2008 16:39 GMT
I want to build a relationship between a query and a table.

MS Access allows me to create a text(4) in the query and an integer field in
the table.

Does it make sense for this?

Will it have any problem, since text(4) may have characters, but not integer?

Can I do this, because access allows me to do so?

Your information is great appreciated,
John W. Vinson - 26 Feb 2008 20:09 GMT
>I want to build a relationship between a query and a table.

Access will not allow such a relationship to be enforced.

>MS Access allows me to create a text(4) in the query and an integer field in
>the table.
>
>Does it make sense for this?

No. The datatypes must match.

>Will it have any problem, since text(4) may have characters, but not integer?
>
>Can I do this, because access allows me to do so?

Well, maybe I don't understand. How are you attempting to create the
relationship? Could you post the SQL of the query?
Signature

            John W. Vinson [MVP]

Souris - 27 Feb 2008 02:05 GMT
I have an employee table which has login filed as text (4)
I have  alogin table has login table Login ID as integer.

I have a EmpLogin Query select Employee ID and Login Id

I tried to link relationship between EmpLogin Login filed which is text(4)
to Login table Login which is integer.

MS Access does not conplain and let me to do it.

You can a test to link a query and table filed in different type to see does
Access allow you to do it.

Thanks again,

> >I want to build a relationship between a query and a table.
>
[quoted text clipped - 13 lines]
> Well, maybe I don't understand. How are you attempting to create the
> relationship? Could you post the SQL of the query?
 
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.