Hi Arvin,
the specific solution to the OP's issue is here:
http://www.lebans.com/justicombo.htm
New Ver 2.1 Justification.zip is a database containing functions to center
and right justify data for List and Combo Boxes.
Major changes for Version 2.1 are:
Use standard API's instead of functions exposed in Access EXE.
Handle Multiple Columns
One Function for both Center and Right Alignment
Support for controls on SubForms
Huge increase in function execution speed
Clean code with comments
New CboRowSeperator.zip is a database containing a functions to display non
selectable Row dividers in a Combo.
My personal thanks to Terry Kreft for his input and assistance with this
upgrade.
Name: Dan Rock
Comments:
Hi,
Just a little addition to your justification.zip
I wanted to show the right justified column in standard number format so i
replaced the below line and it works great!
Thank you much for your contributions to the programming community.
'let's trim the string - better safe than sorry
' strText = Trim$(strText)
strText = Trim$(Format(strText, "###,###.00"))
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.