cool tip - I made a slight change:
RIGHT('\'+fldFileName, CHARINDEX('\', REVERSE('\'+fldFileName))-1)
This way it will always work whether the '\' is in the filename or not (the original errors if it isn't)
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |