List Box Question (1 Viewer)

Benjamin Bolduc

Registered User.
Local time
Today, 04:36
Joined
Jan 4, 2002
Messages
169
Hi everyone!

I'm having a simple problem with one of my list boxes, or so it seems.

All I'm trying to do is make it go to the next record in the list when I hit the PageDown key in a subform.

I've tested the On KeyPress event and that's workig fine, I just can't seem to find a "DoCmd.GoToRecord , , acNext" - like command that works.

Does anyone have any insights? I'm sure it's going to be something really obvious that I'll kick myself for. :rolleyes:

Thanks!

-Ben
 

SunWuKung

Registered User.
Local time
Today, 09:36
Joined
Jun 21, 2001
Messages
172
I haven't tried this but this would be my guess:

Me.ctlList=Me.ctlList.ItemData(Me.ctlList.ItemsSelected+1)

hth
SWK
 

Users who are viewing this thread

Top Bottom