Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Can I make FM7 move the first word from one field into a blank field?


Campus Club

Recommended Posts

I am working with a database that has been imported into FM7 and I have a first and last name field. Unfortunately many of the names are in the last name field only instead of being split between the two fields. What command can I use in a script to select the first word the 'last name' field and then move it into the blank 'first name' field?

Link to comment
Share on other sites

Yes, that moved the first name to the first name field, but it also left it behind in the last name field. How do I set it to delete the first name after that?

Link to comment
Share on other sites

oh yes.

 

set field["last_name","RightWords(last_name;1"]

 

assuming you have no names like "John Stuart Mill, jr"

 

kjoe

smile.gif

Link to comment
Share on other sites

Ooh, that's the thing, I do have a lot of 3 or 4 part names. Is there anyway to just select that first word and then clear it or cut it?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...

Important Information

Terms of Use