4D v16Printing forms |
||
|
4D v16
Printing forms
Printing forms
In addition to the manipulations explained in the video, you should also note that: Intersecting black lines cross the form and indicate the size of the printable page according to the print settings that you have set. You can use the context menu of the form (right-click on the form background) to display or hide control markers, marker labels, page limits, and so on. In this video, we're going to learn to use forms for printing and adapt them to our needs. In 4D, all forms can be printed. We don't make a distinction between the concept of a report (for printing) and that of a form (screen display). In most cases, especially for issues concerning different layouts or sizes, data entry and printing use separate forms. It is common to have several forms for the same table. 4D doesn't impose any limits. We can indicate the form to use either programmatically (we'll see how later) or by using interface tools in the Design environment where, here (Editor's note: In the Explorer) we can choose which form will be used as the input or output form. Then, when printing, we can again choose the form to be used. To create a print form we'll use the wizard just like we did for the screen form. We're going to create a form so we can print each technician and their interventions. The TECHNICIANS table is selected so let's use the wizard.
We then see:
Let's move on to the list of technicians.
The preview shows 50 pages; obviously we can save some space by changing the size and the font of each field displayed. The purpose is to see how easy it is to print using relations, without having to program anything, and here we have the list of interventions for the technician Bonaparte. What we just did using the File => Print command could also be done through programming using the 4D print commands. Furthermore, we'll see in later chapters how to improve the appearance and functionality of our forms, more specifically by learning how to handle form objects.
|
PROPERTIES
Product: 4D
HISTORY
ARTICLE USAGE
Self-training ( 4D v16) |