UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Select Last Item In A List box    
 
   
wkalo
post Dec 10 2007, 06:22 AM
Post #1

UtterAccess Addict
Posts: 273



I Have A List Box Its Filled Automatically By A Query,
is there a way to enforce selecting a specific record,
Go to the top of the page
 
+
Larry Larsen
post Dec 10 2007, 06:25 AM
Post #2

UA Editor + Utterly Certified
Posts: 22,726
From: Melton Mowbray,Leicestershire (U.K)



Hi
Try:
CODE
Me.YourLstboxName = Me.YourLstboxName.Column(0, Me.YourLstboxName.ListCount - 1)

(IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif)
Go to the top of the page
 
+
wkalo
post Dec 10 2007, 06:30 AM
Post #3

UtterAccess Addict
Posts: 273



Thank You Very Much
Above Code Forces Selection To The LAst Record In The List Box

One More Query !
Can I Change The Color Of The Selection Bar,
By Default Its Black,
Without Changing the Back Color Of The List Box

Thank You In Advance
Go to the top of the page
 
+
Larry Larsen
post Dec 10 2007, 06:35 AM
Post #4

UA Editor + Utterly Certified
Posts: 22,726
From: Melton Mowbray,Leicestershire (U.K)



Hi
Sorry no..
(IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif)
Go to the top of the page
 
+
wkalo
post Dec 10 2007, 06:35 AM
Post #5

UtterAccess Addict
Posts: 273



Thank You
Go to the top of the page
 
+
Larry Larsen
post Dec 10 2007, 06:39 AM
Post #6

UA Editor + Utterly Certified
Posts: 22,726
From: Melton Mowbray,Leicestershire (U.K)



Hi
If you would like to try Candace Tripp has an alternative option which does include colour when trying to mimic the control (listbox)..
Check it out: Colour List Box
QUOTE
This demonstrates how to use a subform as a "faux" list box to simulate colored rows.

HTH's
(IMG:http://www.utteraccess.com/forum/style_emoticons/default/thumbup.gif)
Go to the top of the page
 
+
wkalo
post Dec 10 2007, 06:42 AM
Post #7

UtterAccess Addict
Posts: 273



Thank You I Will Check It Out
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 19th June 2013 - 05:06 PM