Navigating with lists

  • Thread starter Thread starter Tyko via AccessMonster.com
  • Start date Start date
T

Tyko via AccessMonster.com

I'm all new to access so what I'm going to ask for is probably really basic,
please don't scold me for my stupidness ;P.

I want to navigate records in a form with the help of a list. The list and
records on the form is dynamic so I don't know how many rows the list will
contain. What I need to do is to get an autincremented value into the list so
I can extract it and use for navigation (or if there is a really simple way
of just extracting which rownumber is currently selected). Is there any
simple way of doing this??

Thanks
 
Tyko via AccessMonster.com said:
I'm all new to access so what I'm going to ask for is probably really basic,
please don't scold me for my stupidness ;P.

I want to navigate records in a form with the help of a list. The list and
records on the form is dynamic so I don't know how many rows the list will
contain. What I need to do is to get an autincremented value into the list so
I can extract it and use for navigation (or if there is a really simple way
of just extracting which rownumber is currently selected). Is there any
simple way of doing this??

Not sure why you would want to use a number. Normally such a navigation list
would contain the Primary Key value for the records and you would use code to
find that specific record based on the key value rather than just its ordinal
position in the list.

If there is a specific reason to use the position in the list you can use the
ListIndex property to determine which row is currently selected and add one to
that (it starts at zero).
 
Nevermind, I found it. Why is it that after extensive searching you allways
find what you're looking for after posting a post ;P
 
Back
Top