on_save=

Command

System

Default

Options

on_save=

DMS 5.102+

none

Add this command to your Cms.ini file so that DMS will launch another program each time you save a data record and send selected data fields from the saved record to that program.

The command will not execute if there are zero defects.

You must specify the file name of the program you want to run. You must also specify which data fields you want to send to the program. In order for the program to run, the executable must be in installation path. Also, file names may be misconstrued as command line modifiers. See Launching an external application from Data Entry for full instructions and syntax on using this command.

The following parameters may be used: %time, %date, %defect, %defect_count, %note, % part_process, % defect_location, % traceX (x is between 1-48), % LX (X is the number of Line Feeds).

Another feature is that you are able to designate a path other than your current path to find and run an application.

See also: on_save_action=

This only applies to Microsoft SQL Server:  You must set useqry=0 in convert.db for this feature to work correctly.