Provided you know the field names in advance, then ikegami's solution will work perfectly for you.
Scott
In reply to Re^3: get array number by helphand in thread get array number by darrengan