Wet_Blanket
Registered User.
- Local time
- Today, 12:37
- Joined
- Dec 3, 2008
- Messages
- 113
I have an issue, I need to format a field from a table. the field is [acct_num], and the current format is this (bad I know):
### - ###### - ###
or
### - ##### - ###
I need to just have the middle 5 or 6 numbers for the query, drop off everything else. Plus, where the middle numbers are only 5 digits, I need leading zeroes.
This is what I have so far, which does half the job:
acct_nbr: Trim((Left(
![acct_num],Len(
![acct_num])-5)))
Any suggestions?
### - ###### - ###
or
### - ##### - ###
I need to just have the middle 5 or 6 numbers for the query, drop off everything else. Plus, where the middle numbers are only 5 digits, I need leading zeroes.
This is what I have so far, which does half the job:
acct_nbr: Trim((Left(
Any suggestions?