your database front-end

PDF Forms

dbFront allows you to setup action buttons to open and fill in a stored PDF Forms.  The PDF forms can either be industry provided PDF forms, or you can easily design your own PDF forms.

Creating PDF Forms

There are a variety of tools that can create PDF forms, the most well know of which is Adobe Acrobat.  If you don't have a copy of Adobe Acrobat, great free alternatives are OpenOffice Writer or LibreOffice Writer.

NOTE: It is not possible to use Microsoft Word by itself to create a PDF form.

Using OpenOffice or LibreOffice

  1. Open Libre Writer
  2. Enable the Form Controls Toolbar:  “View -> Toolbar -> Form Control”.  If there is no checkbox then click the menu item to add the Form Control toolbar.
  3. Create or edit your Forms Document adding the Form elements as needed from the Toolbar.
  4. Ensure that the Form Fields are named with userful field names so you can easily match up the fields in dbFront.

When saving it is import to export the Form correctly.  When saving ensure that you:

  1. Select “File -> Export as PDF”
  2. Make sure the “Create PDF Form” checkbox is selected.

Adding PDF Forms to dbFront

Your PDF forms need to be copied into the folder [c:\Data\dbFront\Forms\] on the Web Server.  It may be necessary to create this folder.

Creating the Action Button

The following steps will create an PDF Form action button in dbFront:

  1. Open the table from which you will want to prepare the PDF form,
  2. Open the Table Preferences and create a new button in the "Action Buttons" tab and Save,
  3. Click on the gear icon beside the new Action Button and complete the button setup including the Caption and Visibility,
  4. Change the "Action Type" to "PDF Form", (this will immediately add a new "PDF Form" tab to the dialog)
  5. Select the PDF template file, (this will immediately load the PDF form fields)
  6. For each Form field, select a field from the current table or any joined view.
  7. Specify if you want the PDF fields to be flattened, (this prevents any further editing of the affected fields)
  8. Save the new button.

Once saved the button will disappear or be disabled if no record is selected.

If dbFront shows the following error when you select this document as template... "This PDF does not contain any form fields", then it means that the PDF file was not saved correctly or the Form fields were lost.  You will need to update or replace the PDF document to proceed.

For more help or details on creating Action Button see: Action Buttons

Content you want the user to see goes here.
close