J
Jado
Hi
I urgently need either an InStrRev Function replacement or StrReverse
Function replacement.
I'm using Access 97
There is a peace of code i want to use.
'Code
'FromLine is a string taken from a text file
LastSpacePosition = InStrRev(FromLine, " ", -1, vbTextCompare)
'-------------------------------------------------------------------
this gives an error 'Sub or Function not defined'
i've read that InStrRev is only availible in Access 2000, but i've also read
that StrReverse is the fuction used to achieve the same result prior to
InStrRev.
i've tried
LastSpacePosition = InStr(StrReverse(FromLine), " ") + 1
but i get the same error.
i don't really mind how i achieve LastSpacePosition, as long as it works.
any help would be great.
thanks
Jado
I urgently need either an InStrRev Function replacement or StrReverse
Function replacement.
I'm using Access 97
There is a peace of code i want to use.
'Code
'FromLine is a string taken from a text file
LastSpacePosition = InStrRev(FromLine, " ", -1, vbTextCompare)
'-------------------------------------------------------------------
this gives an error 'Sub or Function not defined'
i've read that InStrRev is only availible in Access 2000, but i've also read
that StrReverse is the fuction used to achieve the same result prior to
InStrRev.
i've tried
LastSpacePosition = InStr(StrReverse(FromLine), " ") + 1
but i get the same error.
i don't really mind how i achieve LastSpacePosition, as long as it works.
any help would be great.
thanks
Jado