Home » Categories » Multiple Categories

Global Updates - Replace / Insert Text in Data Item

As part of the special Database Actions that can be used within the Profiler Installerare options that can be used to replace text or to insert text in any text data item. These can be used, for example, to insert a location code on a stock code prior to an update to stock or to replace part of a stock description with other text.

These options though could only be used manually – requiring you to select the database, the item to update, the value to insert/replace and any selection criteria. Where this is a process that needs to be actioned regularly this can be time-consuming.

Two new Profiler Global Update types have been added for selection when first creating a new global update definition.

A screenshot of a computer Description automatically generated 

Insert Text into Any Item

A screenshot of a computer Description automatically generated

 

Update Which Data Item Number From/To – reference the data item number to be updated with the inserted text. Generally, you would only reference the first item but you can reference a range of consecutive text data items to insert text within if needed.

Insert What Value – enter the text to be inserted within the data item.

At What Position – enter the character position the text is to be inserted within. Leave as 0 to append to any existing text. Note the maximum character size of the data item to be updated – inserting text may mean that some existing content could be removed if data inserted means the new text length is greater than the field size allows.

Replace Text in Any Item

Update Which Data Item – reference the data item to be updated.

Replace What Value – enter the text string to be replaced.

With What Value – enter the text string to be updated. Note that if text string to be updated is larger than the text being replaced then the maximum character size of the field may mean that existing content could be removed if the resulting text is greater than maximum size allowed.

After confirming the update parameters for both the insert/replace options the definitions allow you to define any selection criteria for the update and to set, if the database being updated is mirrored to SQL, whether to write individual change records to SQL or to refresh the database (generally quicker on large files where many records are to be updated

Custom Fields
  • Release ID: 7.9
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Confirm Update Definition - Sales/Purchase Batch Updates
Viewed 2581 times since Thu, Jul 5, 2012
G9 – Sort A Database
Viewed 1189 times since Thu, Jun 28, 2012
User-Defined Reports - File Output Options
Viewed 119 times since Tue, Mar 24, 2026
Reports on EDI Orders - EDI Order Processing
Viewed 1966 times since Thu, Jul 5, 2012
Special Custom Features
Viewed 2117 times since Thu, Jun 28, 2012
Automatic (Q) Menus - Lock/Unlock Actions
Viewed 181 times since Tue, Mar 24, 2026
Create New User - Copy Landing Pages
Viewed 156 times since Tue, Mar 24, 2026
Create a New Database from Existing
Viewed 2376 times since Fri, Jun 29, 2012
Forecast Dates - Negative ‘Credit Terms’ Dates
Viewed 596 times since Thu, Jan 9, 2025
Application Files – User-Id Filenames
Viewed 1257 times since Thu, Jun 18, 2020