473,503 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Making categories

I have a lookup table with 3 fields that reprensents costs categories,
something like this:
Fld1 Fld2 Fld3
Holiday Malibu 2005 Hotel
Holiday Alps 2006 Hotel
Meeting Montly meeting Conference room

I want to use this lookup table in another table that has the same fields.
This table is in a form. For being able to look up the right value, my plan
is to run a query at the arrival at field 1 to filter the unique
possibilities of category 1. For field 2 I'd like to do something similar
but then filter out only the category 2 items that belong to the choice that
was made by the user in field 2. The same accounts for field 3 in relation
to field 1 and 2.
Is this normal practice in Access or is there a better alternative?
Thanks in advance,
john
Sep 3 '06 #1
3 1186
If this is the right way to do it, how do I refill the lookupfields with the
right values since they only get filled once by the query when the form is
opened. How can I refill the lookup lists when the user sets focus to the
related field?
john

"john" <jo**@test.comschreef in bericht
news:OO******************************@casema.nl...
>I have a lookup table with 3 fields that reprensents costs categories,
something like this:
Fld1 Fld2 Fld3
Holiday Malibu 2005 Hotel
Holiday Alps 2006 Hotel
Meeting Montly meeting Conference room

I want to use this lookup table in another table that has the same fields.
This table is in a form. For being able to look up the right value, my
plan is to run a query at the arrival at field 1 to filter the unique
possibilities of category 1. For field 2 I'd like to do something similar
but then filter out only the category 2 items that belong to the choice
that was made by the user in field 2. The same accounts for field 3 in
relation to field 1 and 2.
Is this normal practice in Access or is there a better alternative?
Thanks in advance,
john


Sep 3 '06 #2
"john" <jo**@test.comwrote in
news:E7********************@casema.nl:
If this is the right way to do it, how do I refill the
lookupfields with the right values since they only get filled
once by the query when the form is opened. How can I refill
the lookup lists when the user sets focus to the related
field? john

"john" <jo**@test.comschreef in bericht
news:OO******************************@casema.nl...
>>I have a lookup table with 3 fields that reprensents costs
categories, something like this:
Fld1 Fld2 Fld3
Holiday Malibu 2005 Hotel
Holiday Alps 2006 Hotel
Meeting Montly meeting Conference room

I want to use this lookup table in another table that has the
same fields. This table is in a form. For being able to look
up the right value, my plan is to run a query at the arrival
at field 1 to filter the unique possibilities of category 1.
For field 2 I'd like to do something similar but then filter
out only the category 2 items that belong to the choice that
was made by the user in field 2. The same accounts for field
3 in relation to field 1 and 2.
Is this normal practice in Access or is there a better
alternative? Thanks in advance,
john

This is so common trhat there are 36,000 plus web pages devted
to the question of Cascading Comboboxes

Here's a good one
http://experts.about.com/q/Using-MS-...scading-combo-
boxes.htm
here's a sample database example.
http://www.utterangel.com/pages/acce...nloads.aspx#43
--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Sep 3 '06 #3
"Bob Quintal" <rq******@sPAmpatico.caschreef in bericht
news:Xn*********************@66.150.105.47...
This is so common trhat there are 36,000 plus web pages devted
to the question of Cascading Comboboxes

Here's a good one
http://experts.about.com/q/Using-MS-...scading-combo-
boxes.htm
here's a sample database example.
http://www.utterangel.com/pages/acce...nloads.aspx#43
Thanks.
Point taken.
john
Sep 3 '06 #4

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

Similar topics

6
18258
by: Brian | last post by:
Greetings, I'm working on a project that involved that has need of a categorization system. Logically speaking, the system will have elements, these elements will belong to at least a single...
2
3510
by: Troy Lynch | last post by:
I'm working on writing a website which I need to have lists of products listed in categories and subcategories, and need to keep track of whats in the tree. Like how many products from the root all...
3
1806
by: Jeremy Ross | last post by:
Hello, I am looking for a tutorial, or some help with a slight problem that I am having. What I need to do is create a bit of code that will allow me to select multiple categories for a...
0
3232
by: Ralph Guzman | last post by:
TASK: I have to generate a report with all categories, subcategories and products in database. PROBLEM: I want to write one query that will return: 1. category 2. subcategory: determined by...
19
6744
by: Christian Fowler | last post by:
I have a VERY LARGE pile of geographic data that I am importing into a database (db of choice is postgres, though may hop to oracle if necessary). The data is strictly hierarchical - each node has...
1
1852
by: Neil McGuigan | last post by:
Hi, I want to store product categories in my db and am a little lost as to where to start. They can be hierarchical, such as "Books" > "Cook Books", so my table is like this: int...
13
3854
by: hornedw | last post by:
I have been working on a ecommerce website for myself. What I needed some assistance on was when i was trying to display the categories/subcategories for the different products. I decided to use...
4
2494
by: Drew | last post by:
I posted this to the asp.db group, but it doesn't look like there is much activity on there, also I noticed that there are a bunch of posts on here pertaining to database and asp. Sorry for...
1
3860
realayumi
by: realayumi | last post by:
ACCESS 2003 WIN XP Hi, i'm new in access, just a view days, this is my first post. Sorry for my bad English. I have 3 tables. tbl_product
0
7202
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
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
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
7330
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
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
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.