June 10, 200421 yr Newbies I have a large database, imported from Oracle. It contains an ID field which has been manually entered, and is padded with trailing blanks. Inside this string there is a 4-digit serial number that I try to put into a calculation field. My problem: There is an unknown, random number of trailing blanks, how do I strip them out in the calculation? -Baktus
June 10, 200421 yr Hi Baktus, Welcome to the list. Have you tried the Trim Function. All you need to do is to wrap your current calculation inside it like this: Trim(YourCurrentCalculation) If I have confused you, please come back and let me know. Also, take a look at the Online Help available within FileMaker. Just type the word Trim in "Index" window, and it will take to Trim Function, hit the Display button and you will see an example or two of what I mean. HTH Lee
June 10, 200421 yr Author Newbies Thanks, Lee! This was just what I needed, I have tried and it works fine! It has been a few years since I worked with FMPro, I used to be member of this forum way back then... nice to be back! rgds, Baktus
Create an account or sign in to comment