Jump to content

Place text before existing text in a field.


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

Recommended Posts

I would like to place text in a field called "textbegin"  before the text that was already there.

IN other words. How can I place text in a field before the existing text without losing the original text,

If the field contains "mystery tour" I would like place "magical " before "mystery tour".  Not sure how to calculate to make the cursor add my text before existing text in a field.

Link to comment
Share on other sites

If you do this programmatically, there is not really a cursor; rather, replace the existing field contents with the result of a text calculation:

"newText" & yourField

In a script, use

Set Field [ target field: YourTable::yourField ; value/result: "newText" & YourTable::yourField ]

where "newText" could be "a string literal", a Table::fieldReference, a $variable …

Edited by eos
Link to comment
Share on other sites

This topic is 3276 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.