View Full Version : Navigation Problem through List Box


a_20120
04-07-2007, 08:11 PM
I can see the problem but not the answer.

If you use the mouse to select a record, it does not set PicN to the record position, so PicN stays wherever it was set to bfore the manual record selection.

after you use the mouse to select a record of list box, then if u use the navigation button u see the problem

boblarson
04-07-2007, 09:27 PM
1. Create a STANDARD MODULE and move this:
Public PicN As Long
from the form module to the standard module declarations section

2. Put this in the AfterUpdate event of the listbox:
PicN = Me.lstData

a_20120
04-07-2007, 10:21 PM
Thanks for Replying...
Thanks very very much...This exactly what I wanted...It works as Well as I think...