Fixed Length
- From: Ann <Ann@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Feb 2009 09:29:19 -0800
I have seven fields in my Table that need to be concatenated to create one
field used to create a 2D Barcode. Each of the seven fields has a fixed
length and the total lenght of all the fields has to be 100 characters.
These are the fields:
JobId (8 char)
Date (8 char)
RunNumber (2 char)
RecordNumber (8 char) - the key, starting with 1 and incrementing by 1 for
each record.
PageNumber (5 char)
PageCount (5 char)
Remaining (64 char)
I've done the Date field...that was the easy one...but how do I do the other
fields? The data will be entered and each field could use 1 character or all
the characters at the time it's entered. I need to have the remaining
character spaces fill in with zeros to the left of the data entered? Thanks
for the help in advance.
.
- Follow-Ups:
- Re: Fixed Length
- From: Albert D. Kallal
- Re: Fixed Length
- From: John W . Vinson
- Re: Fixed Length
- From: John Spencer
- RE: Fixed Length
- From: dymondjack
- Re: Fixed Length
- Prev by Date: RE: Fixed Length
- Next by Date: Re: Help --> Compile Error - User defined type not defined
- Previous by thread: Help --> Compile Error - User defined type not defined
- Next by thread: RE: Fixed Length
- Index(es):
Relevant Pages
|