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  

MS Access Table Design Look Up???



 
 
Thread Tools Display Modes
  #1  
Old April 24th, 2010, 02:50 AM posted to microsoft.public.access.tablesdbdesign
Laura1 via AccessMonster.com
external usenet poster
 
Posts: 29
Default MS Access Table Design Look Up???

I am trying to design a budget database and I want to have consistent
categories and expense.

I have a table with Category and Expense It looks something like this:

Category Expense
Overhead Electrcity
Overhead Internet
Employee Salary
Employee Commision

I want to creat another table where the entires will be made but want to
force these categories. I can get one colum to appear in the table Example
Internet but I can't see in the table what category it rolls up to, I see it
when I choose the expense but not after. Is there a way to populate this
table with those values and keep them together, in otherwords if you choose
internet it automatically populates Overhead and you can't change it unless
the category expense table is changed.

Thank you!

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/201004/1

Ads
  #2  
Old April 27th, 2010, 10:14 PM posted to microsoft.public.access.tablesdbdesign
J_Goddard via AccessMonster.com
external usenet poster
 
Posts: 221
Default MS Access Table Design Look Up???

Hi -

Your category/expense table really should have a single-field primary key, e.
g. account number. If you had that, then all you would need in the other
table is the account number as a foreign key back to the Category/Expense
table. You could the link the two tables in a query for reporting purposes;
grouping on Category in a report would provide the rolloup you are looking
for.

The data entry form would only need the Expenses listed in a combo box, with
the bound column being the account number - the category is also determined
by the account number.

John


Laura1 wrote:
I am trying to design a budget database and I want to have consistent
categories and expense.

I have a table with Category and Expense It looks something like this:

Category Expense
Overhead Electrcity
Overhead Internet
Employee Salary
Employee Commision

I want to creat another table where the entires will be made but want to
force these categories. I can get one colum to appear in the table Example
Internet but I can't see in the table what category it rolls up to, I see it
when I choose the expense but not after. Is there a way to populate this
table with those values and keep them together, in otherwords if you choose
internet it automatically populates Overhead and you can't change it unless
the category expense table is changed.

Thank you!


--
John Goddard
Ottawa, ON Canada
jrgoddard at cyberus dot ca

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/201004/1

  #3  
Old April 30th, 2010, 05:15 AM posted to microsoft.public.access.tablesdbdesign
Laura1 via AccessMonster.com
external usenet poster
 
Posts: 29
Default MS Access Table Design Look Up???

Thank you!

J_Goddard wrote:
Hi -

Your category/expense table really should have a single-field primary key, e.
g. account number. If you had that, then all you would need in the other
table is the account number as a foreign key back to the Category/Expense
table. You could the link the two tables in a query for reporting purposes;
grouping on Category in a report would provide the rolloup you are looking
for.

The data entry form would only need the Expenses listed in a combo box, with
the bound column being the account number - the category is also determined
by the account number.

John

I am trying to design a budget database and I want to have consistent
categories and expense.

[quoted text clipped - 16 lines]

Thank you!



--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/201004/1

 




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 03:50 AM.


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