G
Grassy7
I know there are several posts on this subject, but none help my
situation. It's a big challenge.
Here's the setup:
parent form = frmOrders (source = tblOrders)
child form 1 = sbfrmOrderDetails (source = tblOrderDetails)
child form 2 = sbfrmProdSerialNum (source = tblProdSerialNum
All are linked by control "TransactionID".
sbfrmOrderDetails has a control called "cboProductDescription". It's
populated with a filtered list from another control
"cboProductCategory". 96% of all the Descriptions (all Categories) do
not have a serial number that needs to be tracked.
I want to keep the sbfrmProdSerialNum hidden, until a specific item
with a serial number is selected in the cboProductDescription
control. Code will go on it's AfterUpdate event I know. I can get
this to happen. However, I need for the sbfrmProdSerialNum to stay
visible for that entire record. If frmOrders has an item chosen in
the sbfrmOrderDetails that has a serial number, then
sbfrmProdSerialNum needs to stay visible, even after going to an old
record or new record on the main form. My code seems to just look for
the first record that has an item selected in cboProductDesription
that has an associated serial number. I need the code to look at the
entire record set associated with the main form, and see if that
specific item is in that set.
Please any help on this will be awesome. I'm trying to set this up
for my employer who needs it pretty bad. Thanks for any help!!!!
situation. It's a big challenge.
Here's the setup:
parent form = frmOrders (source = tblOrders)
child form 1 = sbfrmOrderDetails (source = tblOrderDetails)
child form 2 = sbfrmProdSerialNum (source = tblProdSerialNum
All are linked by control "TransactionID".
sbfrmOrderDetails has a control called "cboProductDescription". It's
populated with a filtered list from another control
"cboProductCategory". 96% of all the Descriptions (all Categories) do
not have a serial number that needs to be tracked.
I want to keep the sbfrmProdSerialNum hidden, until a specific item
with a serial number is selected in the cboProductDescription
control. Code will go on it's AfterUpdate event I know. I can get
this to happen. However, I need for the sbfrmProdSerialNum to stay
visible for that entire record. If frmOrders has an item chosen in
the sbfrmOrderDetails that has a serial number, then
sbfrmProdSerialNum needs to stay visible, even after going to an old
record or new record on the main form. My code seems to just look for
the first record that has an item selected in cboProductDesription
that has an associated serial number. I need the code to look at the
entire record set associated with the main form, and see if that
specific item is in that set.
Please any help on this will be awesome. I'm trying to set this up
for my employer who needs it pretty bad. Thanks for any help!!!!