Extracting Digits from a formatted number field

Sara Overton

Registered User.
Local time
Today, 20:06
Joined
May 22, 2001
Messages
34
I have a formatted number field which is 7 numbers long

I need to extract each single number into separate fields on a report.

Any ideas how to do this?
 
I think you should be able to use left and mid functions as datasources for the fields. For example for field1=left(lngfield,1) which takes the leftmost character of the field. Then use field2=left(mid(lngfield,2),1) and field3=left(mid(lngfield,3),1)....you get the pattern
 

Users who are viewing this thread

Back
Top Bottom