C
Captain OhNo
Hello,
I have MainForm; SubForm1; SubForm2
The MainForm contains a JobNo and SubForm2 has Charge Numbers in a combo
box. I want to limit the Charge Numbers in the Combo Box based on the
Current Job displayed in MainForm. The Charge No and JobNo have a
many-to-many relationship. One Charge Number can be on many Jobs and one Job
can have several Charge Numbers. I have a table to link the ChargeNo and
JobNo, lets call it tblLink. tblLink is used in the ComboBox Charge No query.
I tried to input criterion in the Charge Number Combo Box query. The
criterion was the JobNo MainForm name and the JobNo field in the JobNo Field
of the query. However, the query doesn't seem to recognize the form. I
probably need something on the MainForm OnCurrent Event, also. There seems
to be so many ways to approach this but I have not been able to do this
successfully.
Your help will be appreciated.
Captain OhNo
I have MainForm; SubForm1; SubForm2
The MainForm contains a JobNo and SubForm2 has Charge Numbers in a combo
box. I want to limit the Charge Numbers in the Combo Box based on the
Current Job displayed in MainForm. The Charge No and JobNo have a
many-to-many relationship. One Charge Number can be on many Jobs and one Job
can have several Charge Numbers. I have a table to link the ChargeNo and
JobNo, lets call it tblLink. tblLink is used in the ComboBox Charge No query.
I tried to input criterion in the Charge Number Combo Box query. The
criterion was the JobNo MainForm name and the JobNo field in the JobNo Field
of the query. However, the query doesn't seem to recognize the form. I
probably need something on the MainForm OnCurrent Event, also. There seems
to be so many ways to approach this but I have not been able to do this
successfully.
Your help will be appreciated.
Captain OhNo