string parsing.....

  • Thread starter Thread starter melonhead
  • Start date Start date
M

melonhead

Guest
hi, im new to both access and sql and was hoping i could get some help...

i have a string of numbers seperated by commas stored in my database. i need to count how many numbers there are in each string and then display all the results with less than 36 numbers contained.

am i able to do this with an sql statement, or am i likely to need vba??

(example string: 9.89007472991943, 12.3332061767578, 14.4694166183472, 16.287145614624, 17.5347270965576, 17.6327610015869, 16.1364498138428, ...)

thx in advance
 
Create a VBA function, use the split function to parse it into an array. Use UBOUND + 1 to return the count of elements parsed.
 

Users who are viewing this thread

Back
Top Bottom