AddaByte    Programmers' Script Repository
Free and low cost software.
spacer
Find out about our beautiful fractal backgrounds at abm-enterprises


Newsletter Signup
Name
Email
 

  Access 97 - Left and Right Pad
 


Save up to 75% on software

Drive Clone

the best name in hosting


'for string padding
Dim x As Integer
Dim PadLength As Integer

Function Lpad(MyValue As String, MyPadCharacter As String, MyPaddedLength As Integer)
    'USE: Lpad("123B","0",6)
    Lpad = String(MyPaddedLength - Len(MyValue), MyPadCharacter) & MyValue
    
End Function

Function Rpad(MyValue As String, MyPadCharacter As String, MyPaddedLength As Integer)
    'USE: Rpad("123B","0",6)
    Rpad = MyValue & String(MyPaddedLength - Len(MyValue), MyPadCharacter)
    
End Function
  What does it do?
   no description given
 
  Features
  Added by Added Downloads Rating Popularity

  rpgivpgmr

11:36:29 AM Thursday, January 22nd 2009

11

not rated

 
 
  About the file
  Size Download Rate It  

  563 KB
  download this file
 
 
  Comments
no comments
 
  Add your comment
 Email  
 Subject  
 Comment  
 Verification code:

 
    All comments are screened by the admin prior to being posted
     
 
  Contacts
  Report Abuse