Well, I think that I could do that, but as it's my time I'm spending
answering the OP I think instead I'll decide how I use it.
So, if the OP states they use A97 I'll tailor the answer to that, if they
don't, and I'm in the mood, I'll answer for all versions. If I'm not in the
mood for that I'll answer for the latest version and wait for them to
respond if it doesn't work.
If I don't feel like it I won't answer at all.
--
Terry Kreft
"David W. Fenton" <dX********@bway.net.invalid> wrote in message
news:Xn**********************************@216.196. 97.142...
"Terry Kreft" <te*********@mps.co.uk> wrote in
news:5q********************@karoo.co.uk:
The easiest way to split the input is to use the Split function
Something like:-
Dim varArray as variant
dim intCount as integer
varArray = Split(me.txtInput, vbCrLf)
If IsArray(varArray) then
for intCount = lBound(varArray) to uBound(varArray)
' do stuff with the individual lines
next
end if
Split() was introduced only with A2K. I think that as long as A97 is
still a mainstream development platform (which it certainly is), one
should mention this with features that were introduced only in later
versions of Access.
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc