N
Niklas Östergren
When I´m importing a delimeter textfile into a table I get one field holding
following string:
"Niklas,Östergren,Man,2004-12-24,Erika,Svensson,Kvinna,2004-12-25,Johan,Sven
sson,Man;2004-12-31"
This is names, gender and DoB for familymembers. Sometimes this string is
empty sometimes it holds 2 peoples name etc. soemtimes 4,5 ... whatever.
The thing is that I don´t know how many family members this string holds.
The only thing I know is that it´s seperated with coma´s and that each
person have 4 values (FirstName,LastName,Gender,DoB).
I have got help with how to split this up from Ken Snell (MVP) yesterday and
this work´s just fine. But how do I know how many times I need to loop
through this string to split data for all family members?
Anyone have any idéa?
TIA!
// Niklas
following string:
"Niklas,Östergren,Man,2004-12-24,Erika,Svensson,Kvinna,2004-12-25,Johan,Sven
sson,Man;2004-12-31"
This is names, gender and DoB for familymembers. Sometimes this string is
empty sometimes it holds 2 peoples name etc. soemtimes 4,5 ... whatever.
The thing is that I don´t know how many family members this string holds.
The only thing I know is that it´s seperated with coma´s and that each
person have 4 values (FirstName,LastName,Gender,DoB).
I have got help with how to split this up from Ken Snell (MVP) yesterday and
this work´s just fine. But how do I know how many times I need to loop
through this string to split data for all family members?
Anyone have any idéa?
TIA!
// Niklas