I have a listbox Access Project - Access 2000) on a form that shows policy numbers and associated data. When it's populated from a stored procedure (SQL 2000 table), it shows all the policy numbers (can be just one or up to four or five)owned by a person on the form. I (actually my boss) would like the list box to default to the row containing the policy number same as the contents of a textbox containing a policy number on the form.
Bottom line: anyway to make a selection in a listbox automatically, without actually clicking on a selection with the mouse? I have tried setting the default value to the text box contents but no luck. Also, just setting the listbox to the value, like: lstboxMyListBox = txtpolicyNo didn't work either.
Thanks for any assistance or hints in this.
Bottom line: anyway to make a selection in a listbox automatically, without actually clicking on a selection with the mouse? I have tried setting the default value to the text box contents but no luck. Also, just setting the listbox to the value, like: lstboxMyListBox = txtpolicyNo didn't work either.
Thanks for any assistance or hints in this.