Jump to content

This topic is 8550 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am not a programmer and don't know if this is possible but presume it is. Can someone tell me how I can take the alphanumeric contents of a field (let's say the word, "possible") and create a new field with the spelling reversed, i.e. "elbissop". I don't know enough about Filemaker to do this but I know a little about the program.

Thanks.

Posted

Some programming languages have a Reverse() function that does what you want, but not Filemaker. You will have to use a script like this.

code:


Set Field gTempText = MyDataField

Set Field MyReversedField = ""

Loop

Exit Loop If Length(gTempText)=0

Set Field MyReversedField = MyReversedField & Left (gTempText,1)

Set Field gTempText = Middle(gTempText,2,64000)

End Loop


gTempText is a global text field

MyDataField is the original text field

MyReversedField is the result

This topic is 8550 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.