Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Peter Robinson: "As a tech savvy company director, I wanted an inexpensive web based database application to manage all aspects of my business. As with most humans I find developing purely by CLI very hard and do not have the will or time to invest in improving my skills. I was looking to find a nice human friendly GUI to design and build my application, which is when I came across PHP Generator for MySQL.

Whilst you still need a great understanding of logic and a small amount of programming ability to get the specific results you require, I am very happy with the speed of progress I have been making with this invaluable tool.

With all the standard libraries included, this product makes normal requirements such as JavaScript form validation, lookup selectors, on click events, auto complete, detailed searches, multiformat exports, rss feeds and username security straight forward and quick.

Having any changes made via the GUI written to the web server at the click of a button makes testing out ideas quick and easy without fear of breaking your application.

To conclude, I couldn't find any other product on the market that came close to offering the amount of options this does, and I do hope that more products like this come out in the future, with the hope of eventually eradicating the need to program all together".

Ran Cole: "We bought the tool last week and want to say how much we love it. We've found it not only powerful, but very user friendly. We have used the tool to create an interface that manages our MySQL DB for different types of users".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

Calculated Columns

Calculated (AKA computed, generated, or virtual) columns are columns that do not exist in the data source the page is based on and their values are automatically computed using other column values or another deterministic expression.  For example, you might create a string column that displays concatenated values from other fields, create an integer column to calculate the person age based on his birthday, and so on.

 

Creating calculated columns

To create a new calculated column, open Page Editor, right-click the grid at the Columns tab and choose Add calculated column... from the popup menu. The following window will be opened:

 

 

Provide the name, the data type and the caption for the new column and press OK. A new calculated column will be added to the column list. To quickly distinguish between ordinal and calculated fields, the latter are marked with a green calculator icon.

 

It is possible to add multiple calculated columns for a single page.

 

Dropping calculated columns

To drop an existing calculated column, select the column in the column list, right-click and choose Drop calculated column from the popup menu.

 

Compute column values

To compute column values in read-only views (List, Print, Export, etc) provide the OnCalculateFields server-side event handler. For Edit and Insert forms provide the OnCalculateControlValues client-side event handler.

 

Use totals

Check this option to aggregate values this calculated column, specify the Aggregate expression (like SUM(quantity*price) where quantity and price are the table column names) and the Aggregate caption. Total content of calculated columns can be customized via OnCustomRenderTotals event.

 

Restrictions

Calculated columns cannot be used with Data Filtering and Multi-Edit tools, so the corresponding options in the column list are always disabled.



Prev Return to chapter overview Next