Hi All
I have an order form. The first field is unbound and is used to write in the customer surname. on Key down event a second continuous form opens to the required search results through using "Docmd Openform where condition."
you then select a name the form closes transfering the CustomerID to the original order form using "Docmd Openform where condition." then away we go with rest of details for order.
The problem I have is if I want to change the customer it goes to the last record for the newly selected customer. If I manually change the customer ID it retains the order details and puts in new customer however if I select a new customer via the above key down event I loose the details of the order and it brings up the last order attributed to that customer.
Any help would be appreciated.
I have an order form. The first field is unbound and is used to write in the customer surname. on Key down event a second continuous form opens to the required search results through using "Docmd Openform where condition."
you then select a name the form closes transfering the CustomerID to the original order form using "Docmd Openform where condition." then away we go with rest of details for order.
The problem I have is if I want to change the customer it goes to the last record for the newly selected customer. If I manually change the customer ID it retains the order details and puts in new customer however if I select a new customer via the above key down event I loose the details of the order and it brings up the last order attributed to that customer.
Any help would be appreciated.