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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

HELP! Adding multiple combo boxes from different tables



 
 
Thread Tools Display Modes
  #1  
Old March 15th, 2008, 04:08 PM posted to microsoft.public.access.queries
iain9996
external usenet poster
 
Posts: 3
Default HELP! Adding multiple combo boxes from different tables



Hi, please help me!

i am making a database for my own restaurant. To make it easier for my
staff, i am creating a database which allows the users to input the food
orders.

However, i have hit numerous problems. I am a complete amature at access. I
need to add numberous combo box (food) entries from different tables. I then
need to add them together, and display it on a report.

Please help me!

Iain9996
  #2  
Old March 15th, 2008, 06:56 PM posted to microsoft.public.access.queries
John W. Vinson
external usenet poster
 
Posts: 18,261
Default HELP! Adding multiple combo boxes from different tables

On Sat, 15 Mar 2008 09:08:02 -0700, iain9996
wrote:



Hi, please help me!

i am making a database for my own restaurant. To make it easier for my
staff, i am creating a database which allows the users to input the food
orders.

However, i have hit numerous problems. I am a complete amature at access. I
need to add numberous combo box (food) entries from different tables. I then
need to add them together, and display it on a report.

Please help me!

Iain9996


It all starts with the Tables. If you're starting with combo boxes, you're
like a cook worrying about presentation before purchasing the ingredients!

You need ONE table of menu items; a different table of orders - probably a
fairly complex application before you get done. What tables do you have now?
Are you planning to enter orders directly in tables (a BAD idea) or to use a
Form for the order, with a Subform for the items (much better)?
--

John W. Vinson [MVP]
  #3  
Old March 15th, 2008, 07:46 PM posted to microsoft.public.access.queries
iain9996
external usenet poster
 
Posts: 3
Default HELP! Adding multiple combo boxes from different tables

hi, thanks for helping!

i am using a data entry form. however, the food order is seperated into 3
tables; Starts, Main course, and side-orders. This is to cut down on the size
of the combo box, because there is around 120 different foods on the menu.

I have given all the foods a 'dish number' and linked them in a relationship.

If this is a bad way of doing it, please just say! haha

Many thanks

Iain

"John W. Vinson" wrote:

On Sat, 15 Mar 2008 09:08:02 -0700, iain9996
wrote:



Hi, please help me!

i am making a database for my own restaurant. To make it easier for my
staff, i am creating a database which allows the users to input the food
orders.

However, i have hit numerous problems. I am a complete amature at access. I
need to add numberous combo box (food) entries from different tables. I then
need to add them together, and display it on a report.

Please help me!

Iain9996


It all starts with the Tables. If you're starting with combo boxes, you're
like a cook worrying about presentation before purchasing the ingredients!

You need ONE table of menu items; a different table of orders - probably a
fairly complex application before you get done. What tables do you have now?
Are you planning to enter orders directly in tables (a BAD idea) or to use a
Form for the order, with a Subform for the items (much better)?
--

John W. Vinson [MVP]

  #4  
Old March 16th, 2008, 09:28 PM posted to microsoft.public.access.queries
John W. Vinson
external usenet poster
 
Posts: 18,261
Default HELP! Adding multiple combo boxes from different tables

On Sat, 15 Mar 2008 12:46:03 -0700, iain9996
wrote:

hi, thanks for helping!

i am using a data entry form. however, the food order is seperated into 3
tables; Starts, Main course, and side-orders. This is to cut down on the size
of the combo box, because there is around 120 different foods on the menu.

I have given all the foods a 'dish number' and linked them in a relationship.

If this is a bad way of doing it, please just say! haha


Well, it's certainly not *necessary* and it can lead to a long term
maintenance nightmare. You should instead have one Dishes table with fields
like:

DishNumber number or short text Primary Key - NOT an Autonumber
DishName text
Category e.g. Starts, Main dish, Side, Dessert, Breakfast, ...

Your Form could then have TWO combo boxes, one to pick the category, and a
second combo box based on a query selecting those dishes in that category. The
RowSource of the second combo would have a criterion like

=Forms!YourFormName!FirstComboName

and you would have one line of code or macro in the first combo's AfterUpdate
event to update the second combo.
--

John W. Vinson [MVP]
 




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 08:03 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.