K
klp via AccessMonster.com
2 Questions:
1) I have 2 combo boxes on my customer maintenance form. They are
synchronized, when I select a customer number the ship to combo box displays
the shipping locations for that customer. When I select a shipping location I
would like the rest of the customer information to populate(ie, address, city,
state zip). But it does not. This is what I have so far. Both combo boxes are
unbound.
On CustID cbo
After Update - Me!cboShipTo.Requery
ShipTo cbo
AfterUpdate - DoCmd.ApplyFilter , "ShipToID = Forms!frmCustomers!cboShipToID"
On the AfterUpdate on frmCustomers - Me!cboShipToID.Requery
The combo boxes do exactly what I want but I can't get the rest of the form
to fill in once the shipto location is selected. Any ideas?
2) On combo boxes, what I want to do is narrow my results when I start typing.
I have the autoexpand set to yes. And that works, but for instance if I start
typing in a part # starting w/ P, then I want the box to show ONLY those
parts that start w/ the letter P. I don't want it to show all parts in the
combo box, there are several parts and it would be nice to narrow more. So if
the part it P001 then all parts that start w/ P001 would show ONLY. Is this
possible? I've seen it before but not sure how to dot it.
1) I have 2 combo boxes on my customer maintenance form. They are
synchronized, when I select a customer number the ship to combo box displays
the shipping locations for that customer. When I select a shipping location I
would like the rest of the customer information to populate(ie, address, city,
state zip). But it does not. This is what I have so far. Both combo boxes are
unbound.
On CustID cbo
After Update - Me!cboShipTo.Requery
ShipTo cbo
AfterUpdate - DoCmd.ApplyFilter , "ShipToID = Forms!frmCustomers!cboShipToID"
On the AfterUpdate on frmCustomers - Me!cboShipToID.Requery
The combo boxes do exactly what I want but I can't get the rest of the form
to fill in once the shipto location is selected. Any ideas?
2) On combo boxes, what I want to do is narrow my results when I start typing.
I have the autoexpand set to yes. And that works, but for instance if I start
typing in a part # starting w/ P, then I want the box to show ONLY those
parts that start w/ the letter P. I don't want it to show all parts in the
combo box, there are several parts and it would be nice to narrow more. So if
the part it P001 then all parts that start w/ P001 would show ONLY. Is this
possible? I've seen it before but not sure how to dot it.