
Database development and training for Birmingham and the midlands
Specialists in Microsoft Access and Visual Foxpro database training and development
I am happy to hear from existing clients but I am taking no new calls.
FoxPro JustFName() function
The VFP JustFName() function returns the name of a file complete with its extension.
JustFName
("C:\Microsoft Visual FoxPro 9\vfp9.exe")
would return:
"vfp9.exe"
Use the JustStem() function if you want the stem of the filename without any extension.
VBA equivalent
Microsoft Access does not have equivalents to these FoxPro file name commands so I wrote this library Visual Basic functions to do give me the same facilities in VBA.