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  

Design Issue



 
 
Thread Tools Display Modes
  #1  
Old June 6th, 2009, 01:42 PM posted to microsoft.public.access.tablesdbdesign
acss
external usenet poster
 
Posts: 153
Default Design Issue

Creating a invoice tracking DB yet there is no standardization from the 7
different formats that customers send in. Some fields are always on invoices
such as number ,date, description, but there are others that have additional
fields that need to be recorded. Should i be creating as many fields to match
all invoices fields from different customers? There will certainly be null
values in some fields while others contain data.

Thanks
  #2  
Old June 6th, 2009, 06:43 PM posted to microsoft.public.access.tablesdbdesign
bhicks11 via AccessMonster.com
external usenet poster
 
Posts: 529
Default Design Issue

I think only you can look at how many invoice form types you have and how
varied they are to decide this. I might see if it would be feasible to put
some generic fields to be used on different forms. Or, if there aren't that
many different forms, you might have fields become visible or not visible
based on some entered criteria that tells what form you are working with.
Why does it really matter if some fields are null?

Bonnie
http://www.dataplus-svc.com

acss wrote:
Creating a invoice tracking DB yet there is no standardization from the 7
different formats that customers send in. Some fields are always on invoices
such as number ,date, description, but there are others that have additional
fields that need to be recorded. Should i be creating as many fields to match
all invoices fields from different customers? There will certainly be null
values in some fields while others contain data.

Thanks


--
Message posted via http://www.accessmonster.com

  #3  
Old June 6th, 2009, 07:06 PM posted to microsoft.public.access.tablesdbdesign
acss
external usenet poster
 
Posts: 153
Default Design Issue

It does not matter is some fields are null yet i wanted to get it right as
far as design.In fact when i create the forms for end users, I will have to
dedicate one form per customer dependant on the fields needed for them. It
should be 7 forms called out by the switchboard with a button dedicated to
each form. Just trying to keep it simple but in a case where invoices have
different fields, i guess this is my only choice.

"bhicks11 via AccessMonster.com" wrote:

I think only you can look at how many invoice form types you have and how
varied they are to decide this. I might see if it would be feasible to put
some generic fields to be used on different forms. Or, if there aren't that
many different forms, you might have fields become visible or not visible
based on some entered criteria that tells what form you are working with.
Why does it really matter if some fields are null?

Bonnie
http://www.dataplus-svc.com

acss wrote:
Creating a invoice tracking DB yet there is no standardization from the 7
different formats that customers send in. Some fields are always on invoices
such as number ,date, description, but there are others that have additional
fields that need to be recorded. Should i be creating as many fields to match
all invoices fields from different customers? There will certainly be null
values in some fields while others contain data.

Thanks


--
Message posted via http://www.accessmonster.com


  #4  
Old June 6th, 2009, 08:55 PM posted to microsoft.public.access.tablesdbdesign
tina
external usenet poster
 
Posts: 1,997
Default Design Issue

well, the danger in that kind of design is always that if you encounter an
8th format (a new customer, perhaps) then you have to add additional fields
to the tables and redesign queries, forms, reports, rewrite code...

what is some of this additional data that must be recorded? how is it used
by your company? more info, please.

hth


"acss" wrote in message
...
Creating a invoice tracking DB yet there is no standardization from the 7
different formats that customers send in. Some fields are always on

invoices
such as number ,date, description, but there are others that have

additional
fields that need to be recorded. Should i be creating as many fields to

match
all invoices fields from different customers? There will certainly be null
values in some fields while others contain data.

Thanks



  #5  
Old June 7th, 2009, 02:07 AM posted to microsoft.public.access.tablesdbdesign
acss
external usenet poster
 
Posts: 153
Default Design Issue

The additional fields that some invoices have that others do not are just for
reference in tracking the actual order. Some can have one reference while
others can have several.In reading postings i can see it will not have a
material impact since as long as there are at least two reference fields
available. I just wanted to understand better in having null values in
records dependant on customer.

Thanks

"tina" wrote:

well, the danger in that kind of design is always that if you encounter an
8th format (a new customer, perhaps) then you have to add additional fields
to the tables and redesign queries, forms, reports, rewrite code...

what is some of this additional data that must be recorded? how is it used
by your company? more info, please.

hth


"acss" wrote in message
...
Creating a invoice tracking DB yet there is no standardization from the 7
different formats that customers send in. Some fields are always on

invoices
such as number ,date, description, but there are others that have

additional
fields that need to be recorded. Should i be creating as many fields to

match
all invoices fields from different customers? There will certainly be null
values in some fields while others contain data.

Thanks




  #6  
Old June 7th, 2009, 02:30 AM posted to microsoft.public.access.tablesdbdesign
tina
external usenet poster
 
Posts: 1,997
Default Design Issue

well, you could consider that "miscellaneous additional data". i might
handle that by creating a table that lists the descriptions of all the misc
data you might want to store for any invoice (these would be the names you
might otherwise have given to individual fields in the table, to identify
the data). if necessary, you could go so far as to associate each
description with a specific customer. then add a data table as the -many
side of a one-to-many relationship with the invoices table. in that table
you can enter as many "additional data" records as you need for each
individual invoice record. the setup/relationships would follow this
example, as

tblInvoices
InvoiceID (primary key)
InvoiceNumber
InvoiceDate
Company

tblReferences
RefID (pk)
RefName

tblInvoiceReferences
InvRefID (pk)
InvoiceID (foreign key from tblInvoices)
RefID (foreign key from tblReferences)
RefValue (whatever the actual piece of data is)

tblInvoices.InvoiceID 1:n tblInvoiceReferences.InvoiceID
tblReferences.RefID 1:n tblInvoiceReferences.RefID

enter the data in a standard mainform/subform layout, where the mainform is
bound to tblInvoices, the subform is bound to tblInvoiceReferences, and
there is a combobox control on the subform bound to the RefID field in
tblInvoiceReferences, with its' RowSource set to tblReferences.

hth


"acss" wrote in message
...
The additional fields that some invoices have that others do not are just

for
reference in tracking the actual order. Some can have one reference while
others can have several.In reading postings i can see it will not have a
material impact since as long as there are at least two reference fields
available. I just wanted to understand better in having null values in
records dependant on customer.

Thanks

"tina" wrote:

well, the danger in that kind of design is always that if you encounter

an
8th format (a new customer, perhaps) then you have to add additional

fields
to the tables and redesign queries, forms, reports, rewrite code...

what is some of this additional data that must be recorded? how is it

used
by your company? more info, please.

hth


"acss" wrote in message
...
Creating a invoice tracking DB yet there is no standardization from

the 7
different formats that customers send in. Some fields are always on

invoices
such as number ,date, description, but there are others that have

additional
fields that need to be recorded. Should i be creating as many fields

to
match
all invoices fields from different customers? There will certainly be

null
values in some fields while others contain data.

Thanks






  #7  
Old June 9th, 2009, 07:32 AM posted to microsoft.public.access.tablesdbdesign
Tony Toews [MVP]
external usenet poster
 
Posts: 3,776
Default Design Issue

acss wrote:

The additional fields that some invoices have that others do not are just for
reference in tracking the actual order. Some can have one reference while
others can have several.In reading postings i can see it will not have a
material impact since as long as there are at least two reference fields
available. I just wanted to understand better in having null values in
records dependant on customer.


Having extra fields null isn't a problem. Go for it. I do that all
the time.

But also consider adding a comments field so the users can key in
stuff that simply doesn't belong in any of the predefined fields.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Granite Fleet Manager http://www.granitefleet.com/
 




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 07:15 AM.


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