If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > activate first record in a listbox

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-12-12, 11:18
denys denys is offline
Registered User
 
Join Date: Jan 2012
Posts: 1
Question activate first record in a listbox

Hi
I have a form linked to a table which includes the field description.
my listbox contained a filtered list from the description field and selects the record on the form when the list is clicked.
so far so good.

I then change the filter by a command using - list1.rowsource.
i then select the first record using - list1.selected(0) = true

I want the record on the form to be selected from the first record in the list by code not by clicking the list

So that when the first record in the list is selected by - list1.selected(0) = true -, the record in the form is displayed.
How do I do that?

Thanks in advance.

Last edited by denys; 02-12-12 at 19:15.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On