HALBURN Posted June 23, 2012 Posted June 23, 2012 I have a single field that contains a list of ten numbers that are separated by carriage returns. I need to put each number into a separate field. I would like to do this via a calculation. What would be the best way to do this? Example: field_a-d 8 345 12 19 Desired result: field_a: 8 field_b: 345 field_c:12 field_d:19
doughemi Posted June 23, 2012 Posted June 23, 2012 field_a = MiddleValues(field_a-d;1;1) field_b = MiddleValues(field_a-d;2;1) ...etc
HALBURN Posted June 23, 2012 Author Posted June 23, 2012 I think this may do it: GetValue ( listOfValues ; valueNumber )
HALBURN Posted June 23, 2012 Author Posted June 23, 2012 field_a = MiddleValues(field_a-d;1;1) field_b = MiddleValues(field_a-d;2;1) ...etc Thanks.
Vaughan Posted June 26, 2012 Posted June 26, 2012 Having the values in separate fields is probably not much better than having all the values in the one field. They should probably be split into related records.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now