Company Products Services Licensing Where-to-buy Contact
Hello WORLD!
Run demo According to tradition, the first introduction of a development tool is the showing of the "Hello WORLD" string to the user. In this example we demonstrate the easiest qualities of FReport components, the generation of the request results according to URL path, DefaultRequest, in the case of which URL does not include the path information except the script name, UnexpectedRequest, in the case of which the URL path does not correspond to any ActionItem, the use of FORM element to receive user input and the reading of the data entered by the user in the Request object, the reading of the server variables and the writing of log files, also the use of styles.
Read more
Record grouping
Run demo This example illustrates the division of large request results into smaller groups by using TFRGroupManager. Insert the start and end date of the report in the first form (both parameters can be left empty, in the case of which the period of the report is unlimited from this aspect), choose the length of the group to be shown simultaneously and click the button "Go". As a result the HTML document is opened where the request result is given in groups of specified length and with a button to open each group.
Read more
Drilldown report
Run demo This example demonstrates how to create drilldown reports with the help of FReport components using the OnGetHREF event and the ReportParams mechanism for the repeated use of request parameters specified by the user. It also demonstrates the use of the OnGetStyle event upon designing a table. Insert the start and end date of the report onto the first form (both parameters can be left empty, then the report period is unspecified on this end) and press the button "Go". The result is a report showing the volume of orders by each client during the report period. To view the orders of the client placed during the given period, click on the client's name. To view the details of an order, click on the order number.
Read more
Cookies
Run demo This example illustrates the sending and receiving of a cookie.
Write the content of the cookie in the edit field "Cookie value".
If the Checkbox "Make persistent cookie" is checked, a cookie is generated that remains in the client's computer for one day. If the box is not checked, a cookie is generated that will be destroyed when the client closes the browser. To create a cookie click the "Add" button; and to view the cookie, click the "Show" button.
Read more
Data actions
Run demo This example demonstrates how to create a database application with the help of TFRDataSource and how to use DataActions. Click on the buttons "First","Prev.","Next" and "Last" to scroll the data, the "Add" button to add a new record, the "Delete" button to delete a record, the "Save" button to save a new or changed entry, and the "Cancel" button to cancel adding or changing of entries.
Read more
Sessions
Run demo This example demonstrates the identification of users and regulation of user rights with the help of the built-in functions of the FReport family components. It also illustrates the use of FRAMESET HTML. By default, there are two users with different user rights
  • Name: John, password: john, level of authorisation: 1
  • Name: Bill, password: bill, level of authorisation: 2
After logging in an HTML document is created the left pane of which contains three choices: ForLevel1 - available to users with the level 1 or higher authorisation, ForLevel2 - available to users with level 2 or higher authorisation, and Exit - available to all and that ends the session. The link "Add new user" found on the login form enables to add a new user. The new user will have level 1 authorisation.
Read more
Images
Run demo This example demonstrates the use of FReport components TFRImage (static image) and TFRDynamicImage (dynamic image). The welcome page contains a static image "imgdemo-main.png". The ImageMap has been used (the TFRImage feature called USEMAP): by clicking on different areas of the image, links to the examples of dynamic images are opened. Dynamic image example 1: the page contains a dynamic image showing current time. The image is drawn as a request result and sent to the client in PNG-format as a stream. Dynamic image example 2: the page contains a dynamic image with a background read from an external image file, and with current time drawn onto the background. The name of the external image file is taken from the configuration parameters. The result is sent to the client in JPEG-format.
Read more