newformusingblueprint
newformusingblueprint
BLUEPRINT
,
FORMNAME
,
NEWFORMNAME

The newformusingblueprint statement creates a new form from a blueprint.

Parameters

This statement has three parameters:

blueprint – path to the blueprint.

formname – name of the form within the blueprint

newformname – name of the new form. If blank or omitted, the original form name will be used.

Description

This statement creates a new form using a previously saved blueprint. This statement is normally used internally by the newdatabaseusingblueprint statement, but you can also use it yourself.

This example gets the blueprint code for the Avery 5160 form in the Contacts database, then creates a new, identical form named Mailing Label in the current database.

    newformusingblueprint "Contacts","Avery 5160","Mailing Label"

This example extracts the Avery 5160 form from the Mailing List blueprint and adds a clone of this form to the current database.

    newformusingblueprint "~/Dropbox/Mailing List","Avery 5160"

The new form can have a different name than the original. In this example, the new form is simply called Mailing Label. In every other detail, however, it is an exact clone of the original Avery 5160 form.

    newformusingblueprint "~/Dropbox/Mailing List","Avery 5160","Mailing Label"

See Also

- blueprintlibraries -- generates blueprints for all procedure library databases.
- constructfieldssheet -- opens a sheet to add/insert multiple new fields into the database.
- Database Blueprints -- exporting a database into a blueprint.
- fieldblueprint -- creates blueprint code for the specified field.
- fieldblueprintsheet -- opens a sheet to edit the blueprint of the current field.
- formblueprint -- creates blueprint code for the specified form.
- formblueprintsheet -- opens a sheet to edit the blueprint of the current form.
- formobjectblueprint -- creates blueprint code for specified form object.
- formoptionsblueprintsheet -- opens a dialog sheet to edit the blueprint of the current form options.
- newdatabaseusingblueprint -- creates a new database from a blueprint.
- saveblueprint -- save a blueprint of a database's structure.
- selectedformobjectsblueprintsheet -- opens a sheet to edit the blueprint of the currently selected objects.

History

Version | Status | Notes
10.0 | New | New in this version.