Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a WordPro power field

Status
Not open for further replies.

PhilRowley

Technical User
Jan 8, 2009
1
GB
I'm trying to create a power field for a colleague which will return the filename without the .lwp suffix.

I have tried two approaches :-

a)left(filename,position(filename,'.',1)-1)

b) left(filename,len(filename)-4)

In each case, I am getting error messages. The help file is no help whatever with the excat details.

I'd be grateful if anyone could tell me what I am doing wrong .

Phil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top