473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

grocery list in access

pdb
I want to make something so I can make a grocery list easy and just print it
off. I am guessing I would have a drop down list, which would be a list of
tables, then select item from the table. For example, first I want milk, so
in the first drop down list i choose dairy, then select milk. Is there a way
to do this and have an add button so it adds it to a list (report)?

Thanks Paul
Nov 12 '05 #1
5 4167
pdb
Is it best to have a list of tables, and then the item?
Nov 12 '05 #2
rkc

<pd*@none.com> wrote in message news:EHuzb.213354$Dw6.777468@attbi_s02...
Is it best to have a list of tables, and then the item?


Just have your mom make the list.
Nov 12 '05 #3
pdb
Just be an ass. Why waste your time posting garbage? So I am trying to learn
Access and doing something that may also be used for other things. Whatever,
get a life.
Nov 12 '05 #4
Actually, Paul, you have a good idea, one that I tried to set up
myself.
You don't actually need separate tables for each category (e.g. Dairy
items, breakfast cereals, condiments, etc.).
However, good relational DB theory says you should have a table of
categories (with a key, say an alphabetic key), and a table of items
(item name, category key). The item table could also have a key (for
indexing/sorting).
Your form could have the following:
Combo box or list box with the categories. When you select a category,
a second combo box or list box could be filled with the items in that
category. When you select an item and click an OK button, you could
copy the item into a table of items (starts as empty). The contents of
the table could be shown using a third list box, which could be
Requeried after every addition (to keep it up to date).
You may also find it useful to have a mechanism to remove items from
the displayed list (and the underlying table), remembering to again
requery the data source for the list box after deleting.
HTH
Perry Zamek
Nov 12 '05 #5
Jon
I already have one made up. It has dropdown list of groceries (not by
category), but if you enter something that's not in the list, it asks
if you want to add it to your lookup table. It also has a field for
prices and even the aisle in your supermarket, so if you want to take
the time to enter the aisle numbers for each one, it will sort the
printed list by aisle next time. If you'd like to see it, email me
and I'll send you a copy.
pd*@none.com wrote in message news:<U8xzb.411987$Tr4.1186893@attbi_s03>...
Just be an ass. Why waste your time posting garbage? So I am trying to learn
Access and doing something that may also be used for other things. Whatever,
get a life.

Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kyle Teague | last post by:
I have a list of pointers to structs as a private member of a class. If I call begin() in the same function as I added the data then no access violation occurs. However, if I try to call begin() in...
10
by: Jason | last post by:
Hi, I have a few million data items being received by my program and I wish to store them in a list, with each item being inserted in any position in the list. Any performance tips so that my...
44
by: Josh Mcfarlane | last post by:
Just out of curiosity: When would using std::list be more efficient / effective than using other containers such as vector, deque, etc? As far as I'm aware, list doesn't appear to be...
3
by: rhobson2 | last post by:
Hello, I wrote a database applicaiton using Access XP (2002) and everything has been working good for the client until they purchased a couple of new computers with Access 2003. The meetings...
3
blackstormdragon
by: blackstormdragon | last post by:
Here were our instructions: "My mother always took a little red counter to the grocery store. The counter was used to keep tally of the amount of money she would have spent so far on that visit to...
4
by: Tony Toews [MVP] | last post by:
A client asked why some code behind a list box suddenly started updating 57386 records in a table instead of the expected 38 records. Turns out the problem is a difference in behavior between...
1
by: David Bilsby | last post by:
All Apologies for cross posing this but I am not sure if this is a VC 8 STL bug or simply an invalid use of the iterator. I have a PCI card access class which basically abstracts a third party...
4
by: Billy | last post by:
I'm in need of a grocery database complete with generic data. I've been looking for some time now to build my web site's database with this but no success finding it. I need something like a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.