I don't know what you are trying to accomplish, if anything practical... it
appears from your table structure, every word from every sentence maybe in
tblWords, which would most likely make it useless for any practical purpose.
Thus, I doubt anyone is going to already have, or be interested in preparing
for you, code to do what you describe.
Assuming this is for a homework assignment (and it seems suspiciously as
though it might be), you first should check Help (in recent versions of
Access) for the "Split" command, which will split the sentence into
"whatever text" is separated by the delimiter you specify. A space would
work nicely as the delimiter. In VBA, you'll find that DAO code is somewhat
easier to learn than ADO.
Larry Linson
Microsoft Access MVP
"robboll" <ro*****@hotmail.comwrote in message
news:11**********************@q3g2000prf.googlegro ups.com...
>I am looking for a VBA routine with a table (tblSentences) and one
long field (field1) is the source
tblSentences
Field1
Did you know that a wild blueberry lies dormant for more than a year
between
growing seasons? That's why we specially select our choice
ingredients.
And another table (tblWords) with one field (FieldWord)
tblWords
FieldWord
The VBA routine goes through each row of tblSentences and puts each
word into tblWords. So tblWords populated looks like:
FieldWord
Did
you
know
that
a
wild
blueberry
.
.
.
Thanks in advance for any help with this!
RBolling