dbTalk Databases Forums  

Dialogue with Customer

comp.databases.ms-access comp.databases.ms-access


Discuss Dialogue with Customer in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
BobbyDazzler
 
Posts: n/a

Default Dialogue with Customer - 05-24-2011 , 04:53 PM






I want to include a tblDialogue in my database. This would be with a
customer and may or may not be about a specific invoice. I'm assuming
that CustomerID would be a foriegn key in tbl dialogue and so would
InvoiceID.

In the case of the dialogue being about an invoice then clearly both
foriegn keys would have a value. If the dialogue was not about an
invoice can the InvoiceID be a null value?

Is there a better way of approaching this?

Reply With Quote
  #2  
Old   
Phil
 
Posts: n/a

Default Re: Dialogue with Customer - 05-25-2011 , 05:17 AM






On 24/05/2011 22:53:36, BobbyDazzler wrote:
Quote:
I want to include a tblDialogue in my database. This would be with a
customer and may or may not be about a specific invoice. I'm assuming
that CustomerID would be a foriegn key in tbl dialogue and so would
InvoiceID.

In the case of the dialogue being about an invoice then clearly both
foriegn keys would have a value. If the dialogue was not about an
invoice can the InvoiceID be a null value?

Is there a better way of approaching this?

Presumably there will be a subject and a date in the tblDialogue. You can
have a null value key in that linked to the invoice table. So on your
customer form, you select the dialogue by date or subject, presumably from a
combo box, and if the InvoiceID is not null, open the invoice report. Phil

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.