Spydus Help
Maintenance / General maintenance / Utilities / Bulk change / Set up bulk change parameters
In This Topic
    Set up bulk change parameters
    In This Topic

    To set up the bulk change parameters:

    1. From the Module Menu select Maintenance, General, Utilities and then Bulk Change.
    2. Set up the parameters you want (see below for details).
    3. Click Save Settings to save the parameters to an xml file.

    Selection

    You can select the records you want to change by browsing or Boolean query or SQL statement. Select Include deactivated records if you want to select deactivated as well as active records. You can click Test Selection for a count of the number of records selected.

    The record format being selected must match the format being changed. e.g. If updating BRWD fields, BRW records must be translated to BRWD. If updating ITM records, ensure that the selected set is not in BIB format.

    Field

    Select the format and the field you want to change. All fields in a repeating group are changed, e.g. borrower’s telephone number.

    Current field value must equal

    This is where you can specify the current value of the field.

    #ELMDATA_INTERNAL Internal form of data
    #ELMDATA External form of data. Same as internal form except for date (dd mmm yyyy) and time fields (hh:mm:ss am/pm).
    #ELMIRN Element IRN.
    #ELMPOS

    Element position.

    For example, IF ('#ELMDATA' = 'ABC') SELECT 1 ELSE SELECT 0.

    SELECT dbo.fn_SpyIsRegExMatch('Mary ABC','^Mary')

    Change field value to

    This is where you can specify the new value of the field.

    SELECT CAST(1.05 * 25.55 AS MONEY)

    SELECT DATEADD(year, 2, N'#ELMDATA')

    SELECT UPPER(N’#ELMDATA’)

    SELECT REPLACE(N’#ELMDATA’,N’ ',N''))

    dbo.fn_SpyRegExReplace(value,pattern,replacement_pattern)

    Process

    See Also