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  

Creating Database Representing Two Chart of Accounts



 
 
Thread Tools Display Modes
  #1  
Old February 16th, 2009, 01:20 AM posted to microsoft.public.access.tablesdbdesign
Chart Builder[_2_]
external usenet poster
 
Posts: 1
Default Creating Database Representing Two Chart of Accounts

I am creating an Access 2007 Database that will need to model a global chart
of accounts for a multinational firm I am currently contracting for. There
are two types of charts... one is a group chart that has accounts that are
only 6 digits long (e.g. 600000) and the second is a more detailed operating
chart with 10 digit accounts (e.g. 6000001111). All accounts in the operating
chart are required to contain a field representing the 6 digit group account
that it rolls up to (e.g. 6000001111 would contain a group account field with
the value 600000). Other than the requirement of a Group account mapping to
Operating account both tables would be exactly the same. Is this something
that should be modeled with 2 separate tables or should all the account data
be within one table with special validation rules in place to distinguish
between Operating and Group accounts?
  #2  
Old February 16th, 2009, 02:20 AM posted to microsoft.public.access.tablesdbdesign
Allen Browne
external usenet poster
 
Posts: 11,706
Default Creating Database Representing Two Chart of Accounts

So, for any account, you need to handle 2 things:
- the group it belongs to (required)
- the operation it belongs to (may not apply.)

This would suggest 2 fields in your table:
- AccountGroup is required, and would be a foreign key to a table of account
groups.

- AccountOperation is nullable. (You can still make it a foreign key with
referential integrity.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Chart Builder" wrote in message
...
I am creating an Access 2007 Database that will need to model a global
chart
of accounts for a multinational firm I am currently contracting for. There
are two types of charts... one is a group chart that has accounts that are
only 6 digits long (e.g. 600000) and the second is a more detailed
operating
chart with 10 digit accounts (e.g. 6000001111). All accounts in the
operating
chart are required to contain a field representing the 6 digit group
account
that it rolls up to (e.g. 6000001111 would contain a group account field
with
the value 600000). Other than the requirement of a Group account mapping
to
Operating account both tables would be exactly the same. Is this something
that should be modeled with 2 separate tables or should all the account
data
be within one table with special validation rules in place to distinguish
between Operating and Group accounts?


 




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:52 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.