firstly sorry for the long post but hopefully i can get these annoying problems sorted on here.
I have a search form that i use to search the customers table and display the matching names in a list box. The listbox is based on a query with a sequence field.
Problem 1
When a user enters part of the accountcode and presses enter the listbox displays the matching criteria(works) but the sequence is all off.What i want to know is is there anyway for the sequence to only apply after the query has sorted the results.
Problem 2
The reason for the sequence is after the enter key is pressed in the first text box the cursor goes to another text box and a user enters the number matching the customer name that they want then it opens up another form with the customer name displayed in appropriate box which in turn autofills the other details.
Problem 3
On the second form i have an orders subform which all works ok except the total field on all lines changes to the same as the total on the current line.does anybody know what i have done wrong.
I have attached a copy of my db so you can see any details that you need.
Thanks in advance and sorry for the overload
I have a search form that i use to search the customers table and display the matching names in a list box. The listbox is based on a query with a sequence field.
Problem 1
When a user enters part of the accountcode and presses enter the listbox displays the matching criteria(works) but the sequence is all off.What i want to know is is there anyway for the sequence to only apply after the query has sorted the results.
Problem 2
The reason for the sequence is after the enter key is pressed in the first text box the cursor goes to another text box and a user enters the number matching the customer name that they want then it opens up another form with the customer name displayed in appropriate box which in turn autofills the other details.
Problem 3
On the second form i have an orders subform which all works ok except the total field on all lines changes to the same as the total on the current line.does anybody know what i have done wrong.
I have attached a copy of my db so you can see any details that you need.
Thanks in advance and sorry for the overload