Jump to content

Hiya,

 

Im making a database for work, but im new to access (an IT apprentice) and its a job card database. So you'll enter the job with a title and a description as well as with a drop combo box for the type of equipment. But i want to be able to section it off into sub equipment aswell. So you would use the combo box for Pc and then a second combo box with monitor, mouse ect.

 

But i want the second combo box to change depending on what you picked in the first one. So mouse and monitor wouldnt be displayed if say you pick table,

 

Cheers.

Rig:   Case: Corsair 760t  Motherboard: Asus Z97-A  CPU: i5 4690k @ 4.4Ghz  RAM: 8GB XMS3  GPU: Gigabyte G1 Gaming GTX 970 Cooling: CM Nepton 280L Storage: 1 TB Seagate Baracuda & Crucial CT240M 240GB SSD PSU: Corsair CSM 650W

Upgrades:   GPU: Gigabyte G1 Gaming GTX 970 SLI RAM: HyperX Fury White 16GB Storage: 3TB WD Green PSU: Superflower Leadex Plat 1000w

"My PC is just substitute for the things in life I'd much rather be doing, It passes the time."

Link to comment
https://linustechtips.com/topic/266802-any-access-pros-out-there-help-needed/
Share on other sites

Link to post
Share on other sites

I'm not the wisest at this, but ill try to explain, 

Lets make an example:

You want to apply this principle to cpus, lets say you have a table in which you have these these columns

 

Cpu Brand   CpuModel  

 

Cpu brand will be a combobox containing Intel&AMD

Cpu Model will be a combobox containing the models of the cpus and relies on the cpu brand combobox

 

You would have to fill the cpu model with a query

Let's say you store ALL cpu models in one table and their ID's are the model, and this table contains the

cpu brand for each model(not optimal, better create 2 different tables - one for AMD and one for Intel)

 

But anyways you would make a combobox with lookup wizard and make those queries, it sounds harder

than it is, just create a new query which will get ALL the cpu models from their table and go into SQL view

and at the end before the ; add Where CpuModel = "AMD" or CpuModel = "Intel" respectively.

I hope this makes sense.

Edited by Darkswormlv
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×