I've developed a VB app which connects to an SQL Server 7.0 database. I'm using SQL Server security (not NT), but I want each user name to be used only once e.g. if user1 is logged on, another user can't login at user1 also.
I use this function to pad numbers all the time. It allows you to pad any length and by changing the pad character, any format.
Hope this helps
Kind regards
Tony
'----------------------------------------------------------
' Function: LPad0 (myvalue, MyPaddedLength%)
'
' Description...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.