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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display a long integer with a space in it? 1

Status
Not open for further replies.

gusbrunston

Programmer
Feb 27, 2001
1,234
US

For display purposes, is there a way I can display a long integer with a space between specific digits? e.g.,

Code:
NameID (long integer) = 3246001

Display as:             3246 001

Maybe convert the long integer to a string and then manipulate the string?

This is not a big deal--cosmetic only; but thanks if you have an idea.
Gus Brunston
An old PICKer
padregus@home.com
 
Go to the form's design view. In the properties window for your textbox that displays the number (I am assuming this is on a form) go to the format property. Type...

0000\ \000

B-) ljprodev@yahoo.com
ProDev
MS Access Applications
 
Sorry, remove the backslashes. Just use

0000 000

Good luck. B-) ljprodev@yahoo.com
ProDev
MS Access Applications
 
Thanks, Lonnie. That worked great. Gus Brunston
An old PICKer
padregus@home.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top