Hello
I am trying to setup a simple database with forms. Currently I believe my database is correctly designed however I am having trouble getting data displayed correctly on the form.
My database has the following structure:
Parent table: Job
Column 1: JobID - primary key, autonumber.
Column 2: JobNumDes - text box
Child table: JobNumber
Column 1: JobNumberID, primary key, autonumber.
Column 2: JobID - number.
Column 3: ItemNumber - number
Column 4: Submitted - text list box, self defined values
Column 4: ToShop - text list box, self defined values
...etc
Relationships:
Parent table -> Child table
JobID --------------> JobID - 1 to Many
I have a main form, and a subform. The main form has a list box of job names. I would like to use the List box for JobNumDes to display records in the subform.
Currently, when I use this config the data appears however when it change to a different job number "JobNumDes" it does not update the values in the subform. Any idea on how to fix this? I am not sure if I need to use a querie, or link them in some other way. If possible are there any links available on a tutorial for this?
So basically, I want to be able to select from a dropdown list box by the job number, which then has the data (item number, submitted, to shop, etc) displayed in the subform.
Thanks
Ian
I am trying to setup a simple database with forms. Currently I believe my database is correctly designed however I am having trouble getting data displayed correctly on the form.
My database has the following structure:
Parent table: Job
Column 1: JobID - primary key, autonumber.
Column 2: JobNumDes - text box
Child table: JobNumber
Column 1: JobNumberID, primary key, autonumber.
Column 2: JobID - number.
Column 3: ItemNumber - number
Column 4: Submitted - text list box, self defined values
Column 4: ToShop - text list box, self defined values
...etc
Relationships:
Parent table -> Child table
JobID --------------> JobID - 1 to Many
I have a main form, and a subform. The main form has a list box of job names. I would like to use the List box for JobNumDes to display records in the subform.
Currently, when I use this config the data appears however when it change to a different job number "JobNumDes" it does not update the values in the subform. Any idea on how to fix this? I am not sure if I need to use a querie, or link them in some other way. If possible are there any links available on a tutorial for this?
So basically, I want to be able to select from a dropdown list box by the job number, which then has the data (item number, submitted, to shop, etc) displayed in the subform.
Thanks
Ian
Last edited: