NigelShaw
Registered User.
- Local time
- Today, 04:11
- Joined
- Jan 11, 2008
- Messages
- 1,575
Hi Guys,
experiencing some strange issues. Lets say my application is this-
C:\Users\Nigel\Desktop\MyAccessApp.accdb
i need to retrieve "MyAccessApp" from it. i current use this-
and i call it like this
Problem is, the return i get is-
MyA
with the ccessApp missing!
ive tried it a few times now. Any ideas how to fix this?
cheers
Nidge
experiencing some strange issues. Lets say my application is this-
C:\Users\Nigel\Desktop\MyAccessApp.accdb
i need to retrieve "MyAccessApp" from it. i current use this-
Code:
Public Function ShortPath(strFullPath As String) As String
ShortPath = Left(strFullPath, Len(strFullPath) - InStrRev(strFullPath, "."))
End Function
Code:
strGetShortcutName = ShortPath(Application.CurrentProject.Name)
MyA
with the ccessApp missing!
ive tried it a few times now. Any ideas how to fix this?
cheers
Nidge