By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,956 Members | 1,216 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,956 IT Pros & Developers. It's quick & easy.

Access listbox auto sellect

P: 1
Hi!

Could someone help me ? I've a ListBox with 3 items. How do i select automaticly the 1st, 2nd or 3rd ? ( whithout clicking in it ? )

Thank you!
Mar 3 '06 #1
Share this Question
Share on Google+
2 Replies


PEB
Expert 100+
P: 1,418
PEB
Hi!

Could someone help me ? I've a ListBox with 3 items. How do i select automaticly the 1st, 2nd or 3rd ? ( whithout clicking in it ? )

Thank you!
Hi,

Set the respective value as Default value! And this value will appear when you open your form!

:)
Sep 9 '06 #2

MMcCarthy
Expert Mod 10K+
P: 14,534
Each item in a list has an index starting at 0. Try the following:

Me.List1.ItemData (0)


Hi!

Could someone help me ? I've a ListBox with 3 items. How do i select automaticly the 1st, 2nd or 3rd ? ( whithout clicking in it ? )

Thank you!
Sep 9 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.