Sabtu, 10 Desember 2016

Re: [MS_AccessPros] Input Form and Input Template Table Design

 

OK, I thought you probably knew that but wanted to make certain you were aware that the CustomerID+EquipmentID combination was not unique.



---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :

David-

I understood that the primary key was different - I assume an AutoNumber.  But the way to relate the two tables is via CustomerID and EquipmentID.

John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals 
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
(Paris, France)




On Dec 9, 2016, at 11:43 PM, david.pratt@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:



Oh and John, one other thing, you said: "It looks like your service templates are keyed on CustomerID and EquipmentID".  That is correct but that is not the primary key and that key combination is not unique.  The primary key is merely the ServiceReportTemplateID field.  

The same combination of CustomerID/EquipmentID might appear in 2-4 template records.  The only unique key in that template file is the primary key, ServiceReportTemplateID .



__._,_.___

Posted by: david.pratt@outlook.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (19)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar