Save method

Saves the values from all input fields to the recipe. The name of the recipe is specified by the Value property.
If the recipe is not found, the method raises an error with Err.Number equal to gfxErrorRecipeSave.
Syntax
Recipe
.
Save
[
PromptForOverwrite
as Boolean]
where
Recipe
– is the name of a Recipe object or an expression that evaluates to a Recipe object.
PromptForOverwrite
– is a Boolean value that specifies whether or not a dialog is displayed asking the user if it is OK to overwrite an existing recipe. Specifying False will overwrite existing recipes without prompting. The default value is True.
Remarks
  • This method is similar to the RecipeSave command. If you do not have security access to use the RecipeSave command, the recipe restore does not occur and an error is raised with Err.Number equal to gfxErrorSecurityAccess.
  • In a distributed application, the recipe name may be fully qualified. If it is not, the Current Area will be used to resolve the recipe name.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal