Been stuggling here with a Datalist issue…

While this forum has been a great help so far in searching the archives, I can’t find a solution to what may be a simple Datalist issue:

I have a Datalist setup with an ADO table as a source. There is a button that, when pressed, will edit another set of data based on the Datalist selection.

The problem comes in the Datalist selection. If I select a line on the Datalist, then press the button, the Selecteditem of the Datalist reverts back to 1. If I break on the _click event, the first time the Datalist item is clicked, the correct item is gathered from Selecteditem, but after exiting the _click event, the Datalist seems to lose focus and fire another _click event reverting back to the first item. Then the _lostfocus event is kicked off.

If I have no _click event(not even a _click stub sub), then I can click on the Datalist and hold the focus. When I click my button, the _lostfocus is kicked off and the Datalist Selecteditem reverts back to the first selection.

Any ideas??

Thanks!
Jason.