A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Relationships



 
 
Thread Tools Display Modes
  #1  
Old March 4th, 2009, 05:57 PM posted to microsoft.public.access.tablesdbdesign
4charity
external usenet poster
 
Posts: 28
Default Relationships

I am struggling with how to link some tables. I have created some very
integrated databases in Access in the past, but I do not use code....

I have a main client table that automatically generates a Client ID. Ihave
several other tables that I set up to keep track of other info for them
(addresses) (orders), etc. HOw do I identify the client in these other
tables? If I create a field called "Client ID" as a text field, and try to
link them in a query, I get a mismatch error. The info in these other tables
would be entered through a subform on a main form that already has the client
ID.


  #2  
Old March 4th, 2009, 07:38 PM posted to microsoft.public.access.tablesdbdesign
Beetle
external usenet poster
 
Posts: 1,254
Default Relationships

Since you said you "don't use code", I'm going to guess that the ClientID
field in your client table is AutoNumber, so the ClientID field in the related
tables need to be a Number (Long Integer) data type, not Text.

Then you would use ClientID as the Master/Child link between the main
form and subforms.
--
_________

Sean Bailey


"4charity" wrote:

I am struggling with how to link some tables. I have created some very
integrated databases in Access in the past, but I do not use code....

I have a main client table that automatically generates a Client ID. Ihave
several other tables that I set up to keep track of other info for them
(addresses) (orders), etc. HOw do I identify the client in these other
tables? If I create a field called "Client ID" as a text field, and try to
link them in a query, I get a mismatch error. The info in these other tables
would be entered through a subform on a main form that already has the client
ID.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.