Creating a Form Using AutoPilot

AutoPilot forms let you design and create documents for viewing your data source data, any way you want. The generated form is kind of like the data source viewer that you get when you choose View > Data Source, in that both allow you to sort , filter, etc. However, the form is a separate document that you can distribute to everyone in your organization, and you can add features to it using events and macros.

Note

AutoPilot forms are read-only by default.


The AutoPilot makes the design and creation really easy, and finding the data you want is even easier. An example is shown in Figure 36-8.

The AutoPilot is the simplest way to create a form. After you create a basic form with AutoPilot you can modify it in Form Design.

  1. Choose File > AutoPilot > Form. The program will process for a while.

  2. The window shown in Figure 36-9 will appear. Select the data source and table you want to use.

    Figure 36-9. The first form AutoPilot window

    graphics/36fig09.jpg

  3. Use the arrows between the two lists to add the fields you want; see Figure 36-10.

    Figure 36-10. The first form AutoPilot window

    graphics/36fig10.jpg

  4. Click Next and select layout options in the window shown in Figure 36-11.

    Figure 36-11. The first form AutoPilot window

    graphics/36fig11.jpg

  5. Click Create. You'll be prompted to save it as a "TextDokument;" (the translation isn't complete everywhere). Don't change the file format. Enter the right name and location for the form file; see Figure 36-12.

    Figure 36-12. The first form AutoPilot window

    graphics/36fig12.jpg

  6. The form will appear, as shown in Figure 36-12. It's just a fancy version of a Writer document; it has the . sxw file extension.

Figure 36-13. The first form AutoPilot window

graphics/36fig13.jpg

Use the search and navigation icons to find the data you want; for more information see Using Forms to View Data on page 950 and Sorting on page 951.

You can use Form Design mode to add, remove, and rearrange fields, and add other elements such as text and graphics. To modify the form, see Form Modification Basics on page 933.

Table controls

If you selected the default format, the middle format in Figure 36-11, a table control is created in the resulting form, grouping the fields and display area. You can create one yourself, without going through the AutoPilot, by clicking the Table Control icon on the Form Functions tearoff menu and drawing the area of the control in your document. See Figure 36-14.

Figure 36-14. Table control and Table Control icon

graphics/36fig14.jpg



OpenOffice. org 1.0 Resource Kit
OpenOffice.Org 1.0 Resource Kit
ISBN: 0131407457
EAN: 2147483647
Year: 2005
Pages: 407

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net