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 3 1199
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.coms chreef 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
"john" <jo**@test.comw rote in
news:E7******** ************@ca sema.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.coms chreef 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 category, sometimes more, additionally,
categories may also be members of any number of categories.
Well -- Thats the vision at least. I'm looking for some pointers, tutorials,
white paper, napkins, whatever explaining how this can be done.
|
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
the way down through the subcategories. I was thinking maybe in each
category it would have a field which lists all the root categories. I
hope this is a good explanation... it's kinda hard to explain I guess.
I figure there were probably some...
|
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 product. I all ready have it so I can pick form a
list of categories and unlimited sub categories. Now I need it so I can
select mutable categories from a list, and the product gets displayed on
them all.
|
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 parent_id
3. products in each category or subcategory.
|
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 one, and only one
parent. The depth should not exceed 6 or 7 levels. The initial import will have about 6 million leaves, and
3 million branches. I would expect the leaves to grow significantly, in number easily tripling. However, the
branches will...
| |
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 CategoryId
int ParentCategoryId Nullable
|
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 the modified preorder tree transversal algorithm. What
I wanted was on the first page is to display the catogories as follows
Books (35)
Electronics(23)
The number inside the parenthesis being the number of products in that
|
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 cross-posting.
I am trying to build a "checklist", where a user can navigate to an ASP page
on the intranet which shows a list of "questions" that the user can check
off. I am trying to figure out how to do this so that it is scalable, but I
am...
|
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
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |