chrisjames25
Registered User.
- Local time
- Today, 23:41
- Joined
- Dec 1, 2014
- Messages
- 404
Hi Everyone. I'm new to access and to the forum. This is first post so hopefully can explain my issue suitably.
I have a table called Tbl_Category which lists the category of products i sell. Each category has sub groups called genus which are listed in the Tbl_Genus table. In this table i have used a lookup function so that i can only enter a genus name against a prescribed category name to maintain the data.
Finally within each genus are varieties of products (Tbl_Variety). In this table i have three fields: Category, Genus, Variety. I can do the lookup on Category and that works fine. However if i then do a genus lookup i get all the genus' in the genus table. What i want is only the genus that fit within the category entered into the category field of that particular record.
I have read how this can be done in a form but cant find anything regarding tables.
Hopefully i have explained myself ok....
by way of example
Tbl_ Category:
Fruit
Vegtables
Tbl_Genus:
Category Genus
Fruit Apple
Fruit Pear
Veg Carrot
Veg Potato
Tbl_Variety
Category Genus Variety
Fruit .........
So on tbl_variety once i select Fruit (via lookup function) the only two that will be allowed to be entered in genus are apple and pear. Carrot and potato would not appear as opposed or be rejected if typed.
THanks in advance
I have a table called Tbl_Category which lists the category of products i sell. Each category has sub groups called genus which are listed in the Tbl_Genus table. In this table i have used a lookup function so that i can only enter a genus name against a prescribed category name to maintain the data.
Finally within each genus are varieties of products (Tbl_Variety). In this table i have three fields: Category, Genus, Variety. I can do the lookup on Category and that works fine. However if i then do a genus lookup i get all the genus' in the genus table. What i want is only the genus that fit within the category entered into the category field of that particular record.
I have read how this can be done in a form but cant find anything regarding tables.
Hopefully i have explained myself ok....
by way of example
Tbl_ Category:
Fruit
Vegtables
Tbl_Genus:
Category Genus
Fruit Apple
Fruit Pear
Veg Carrot
Veg Potato
Tbl_Variety
Category Genus Variety
Fruit .........
So on tbl_variety once i select Fruit (via lookup function) the only two that will be allowed to be entered in genus are apple and pear. Carrot and potato would not appear as opposed or be rejected if typed.
THanks in advance