Log In    |    Knowledge Base    |    4D Home
Tech Tip: Automatically saving a document from a 4D Write plug-in area
PRODUCT: 4D Write | VERSION: 2004 | PLATFORM: Mac & Win
Published On: January 24, 2007

If a form contains a 4D Write plug-in area it is possible to automatically save and load documents from and to that area.

In order for the 4D Write document to be automatically saved, a Picture or Blob field from the table whose form will have the 4D Write area must be associated with the variable name for the 4D Write area in the form. This association is created by using the following naming convention between the field and variable name. Only process variable names can be used.

1. The last character of the field name must be an underscore.
2. The variable name for the 4D Write area must be the field name minus the underscore.

Given this same convention, when the form is loaded the contents of the Picture or Blob field will automatically be loaded into the plug-in area as well.

Page 68-72 of the 4D Write User Manual also has information for creating the 4D Write area. The User Manual can be downloaded from:

Additional documentation for 4D Write area can be found in: