Link to home
Start Free TrialLog in
Avatar of Tom Farrar
Tom FarrarFlag for United States of America

asked on

Need To Create 8-digit field with variable starting points...

So I have an original field in Access as shown below and I need to create an 8-digit field beginning with 370.... similar to the example below:
Original Field          Eight Digit Field
544                    37000544
33                    37000033
254                    37000254

Is there a function within Access that would enable me to do this?  Thanks.  - Tom
ASKER CERTIFIED SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tom Farrar

ASKER

Hi gustav - Thanks for the post.  Not sure how that translates being kind of a novice here.  Are you saying that fixes the variable length of the 544 (0r 33) field size to give me an eight-digit field like:

37000554

37000033?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Are you saying that fixes the variable length of the 544 (0r 33) field size to give me an eight-digit field ..
Yes, that what you asked for. Press Ctrl+G and check out for yourself.

That said, if you just want this for display, it would be much easier simply to apply to format 37000000 to the Format property of your textbox in your form or report.

/gustav
I learn something new most days here at Expert Exchange.  Thanks again.  - Tom