Splitting File and Path of folder: NoPath() & FilePath()
Posted by: fredometro on
Jan 1st, 2004 |
Filed under: MS-Access
Nopath() function returns the filename without the path.
Its little sister, FilePath, returns the path without the filename.
Public Function NoPath(TheText)
Dim ch, result As String
Dim pos As Integer
pos = Len(TheText)
While ch <> “\” and pos > 0
ch = Mid(TheText, pos, 1)
result = ch & result
pos = pos - 1
Wend
NoPath = Right(result, Len(result) - 1)
End Function
Public Function FilePath(ThePath)
Dim result As String
result = Left(ThePath, Len(ThePath) - Len(NoPath(ThePath)))
FilePath = result
End Function


December 12th, 2009 at 12:09 am
Trailer Trash Whores
December 12th, 2009 at 12:10 am
Naughty Hillary
December 12th, 2009 at 12:11 am
Horny Hoes
December 12th, 2009 at 12:12 am
Lil Lexy
December 12th, 2009 at 12:13 am
Honey White
December 12th, 2009 at 12:14 am
Big Tits Round Asses
December 12th, 2009 at 12:15 am
Kate Krush
December 12th, 2009 at 12:17 am
Cam Show Teens
December 12th, 2009 at 12:18 am
Dani Cole
December 12th, 2009 at 12:19 am
Sweet Suzie
December 12th, 2009 at 12:20 am
Adorable Legs
December 12th, 2009 at 12:21 am
Princess Blueyez
December 12th, 2009 at 12:22 am
Latinas Fuck
December 12th, 2009 at 12:23 am
XXX Pregnant Movies
December 12th, 2009 at 12:24 am
123 Cute Cindy
Add A Comment
You must be logged in to post a comment.