Set Parameters for Custom Form Buttons
When you create a custom form button using VA Custom Form Buttons, you can set parameters for each action type.
Parameters determine how the program (form, report, stored
procedure, or external application) associated with the action type displays data or
defaults. Parameters are passed in the format of Name=Value
,
where Name
is what you defined in the Name
field and Value
is from the
DefaultValue field.
- If the button opens a form, you may want to add parameters that will pass values to the form when it opens.
- If the button opens a report, you may want to populate the report’s parameters with data from the form you are working on.
- If the button opens an external application, you want to pass parameters to the application and should understand the types of parameters that the application will accept. The way in which you configure parameters depends on the application that you are passing information to. The external application must have some way of receiving and processing parameters.
- If the button initiates a stored procedure, you may want to define parameters that will return specific values from the stored procedure after it runs.
- If the button initiates a stored procedure that will write the results to a file, you may want to define parameters that return specific values from the stored procedure and specify the name of the file for the results to write to.