When you say that the field is separated by commas do you mean that the whole set of records is comma delimited or is there a single field within the input that contains commas? It may help if you give examples.
Simon Rouse
this is recieved via an e-mail form that is in HTML format, ive managed to import it into one record but i have no idea how to split the field. I am trying to use the Instr function to locate the end of the field names but it returns a 0 when i use "IssueNumber," im guessing because yu can only use single characters to search for
There is a function called Split which (to quote help)"returns a zero-based, one-dimensional array containing a specified number of substrings". So basically you'd read the record use Split to put in into an Ary, then output that array into another table. Of course this would fall down if a comma was entered into the sub field as in Name ="Smith, John"
As an aside don't know why Instr is giving problems as you can certainly use it to search for >1 character
Simon Rouse
scottian I'm confused about what you are doing, how the data is being held and what you want to do with it!
Instr - just to check I wasn't going mad, I have just run a query on a table with and then used Instr to find the position of a substring:
Field Filename: 2004\01\02\103243859.tif
Expression: Exp1: InStr([Filename],"\01\")
Returned 5
Is the entire data in your example held in a single field that you want to parse?
How are you trying to parse it are you useing VBA or trying to do it some other way?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.