[AccessD] precursor zero

Brett Barabash BBarabash at TappeConstruction.com
Fri Nov 12 14:55:53 CST 2004


"string" & Format([ID Field Name],"0000")

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen
Sent: Friday, November 12, 2004 2:38 PM
To: AccessD at databaseadvisors.com
Subject: [AccessD] precursor zero


Hello Group,

 i can make an ID by placing a string and a number together with an
update query.
What i get then is 

string1
string2
string11
string100

What i would like is precursor zero's so that all number are the same
length:

string0001
string0002
string0011
string0100

How can i do this?

Pedro Janssen
-- 

--------------------------------------------------------------------------------------------------------------------
The information in this email may contain confidential information that 
is legally privileged. The information is only for the use of the intended 
recipient(s) named above. If you are not the intended recipient(s), you 
are hereby notified that any disclosure, copying, distribution, or the taking 
of any action in regard to the content of this email is strictly prohibited.  If 
transmission is incorrect, unclear, or incomplete, please notify the sender 
immediately. The authorized recipient(s) of this information is/are prohibited 
from disclosing this information to any other party and is/are required to 
destroy the information after its stated need has been fulfilled.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Tappe Construction Co.

This footer also confirms that this email message has been scanned
for the presence of computer viruses.Scanning of this message and
addition of this footer is performed by SurfControl E-mail Filter software
in conjunction with virus detection software.




More information about the AccessD mailing list