ChristopherM
Registered User.
- Local time
- Today, 06:40
- Joined
- Jan 5, 2000
- Messages
- 38
I have a problem with a subform which is a continuous from used to create lines on a delivery note. The first combo box selects the supplier, and then performs a requery on the second (stock) combo box to limit the stock selection to that of the supplier. This works fine on the first line but when the requery is performed on the next line it clears the stock description from the line above - although it does not affect the (correctly written) record. However it is a bit disconcerting for the user.
Both the combo boxes are bound, and I've tried putting the requery in both the lost focus event of the first (supplier) combo box and in the on Got Focus in the second (which caters for the user going back to a previous record's stock box. If the same supplier is used on every line the stock descriptions remain visible but they disappear on previous lines if the supplier is different - even if he supplies the same stock.
Any help or suggestions on this would be much appreciated.
Both the combo boxes are bound, and I've tried putting the requery in both the lost focus event of the first (supplier) combo box and in the on Got Focus in the second (which caters for the user going back to a previous record's stock box. If the same supplier is used on every line the stock descriptions remain visible but they disappear on previous lines if the supplier is different - even if he supplies the same stock.
Any help or suggestions on this would be much appreciated.