Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LPAD function in Access?

Status
Not open for further replies.

lunchbox88

Programmer
Feb 17, 2004
208
US
Is there a way to use the SQL LPAD function in an Access query?
 
The LSet and RSet functions are very fast because they use memory move instructions rather than string handline.

ResultString = Space(<desired length>)
LSet/RSet ResultString = "The Text"

Good Luck
--------------
To get the most from your Tek-Tips experience, please read FAQ181-2886
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top