
- #Multiple detail tables phpmaker update#
- #Multiple detail tables phpmaker code#
AVERAGE (average field value in current page) COUNT (count of records in current page) TOTAL (sum of all field values in current page) Aggregated values will be shown at Pageįooter. PHPMaker will generate scripts and display records according to this order.Įnable Field Aggregation. Simply ctrl-click or shift-click the Field Name column to select the field, then drag it to where you want. You can change the field order defined in the database by simple drag-and-drop.
#Multiple detail tables phpmaker code#
Thne put your functions under server side Global Code section, see Server Events and Client Scripts.Ĭustom field display order by drag-and-drop MyAutoValueFunction1,MyAutoValueFunction2
You can add your function names (comma separated) for the Advanced Settings Auto-Update values (See Tools - Advanced Settings),
You can add your own PHP functions, the function must accept no argument and return a value. This setting will make the field hidden automatically and it overrides the default value in Add page and custom value for Hidden Edit tag in Edit page. Do not select a function that return values of unmatching data type, for example, you should not select a function that return a non-numeric string for a numeric field. For example, you may want to record the last modified date of a record, then you can select "ew_CurrentDate". The dropdown list for this setting is preloaded with a few functions for your selection. #Multiple detail tables phpmaker update#
See Table Setup.Ī dynamic value to update the field function automatically in Add/Edit pages. Note: Multi-Page is supported for Add/Edit/View/Search pages, you can enable/disable the feature for each page. You can multi-select the fields by ctrl-click or shift-click the Field Name column and then right click to set the page number for the selected fields simultaneously. If you set any page number to larger than 1, Multi-Page feature will be enabled automatically. By default all the fields are in page 1 and Multi-Page is disabled.
Composite key is supported, and primary key is uneditable in the edit page. Otherwise a particular record cannot be located and unexpected results may occur. You are absolutely sure that this field is unique. You should never change this field unless. The grid consists of the following sections: The lower section contain two panels, the panel and the panel for the selected field. The upper section is a grid showing available options of all fields. The Field Setup pages consists of two section. You can click on the tab to view the list of fields that are not supported. If PHPMaker finds any unsupported fields in a table, an tab will appear. PHPMaker support most commonly used data types. A database object can be either a table, a view, a custom view or a report. Note: For simplicity, we use "table" in the following description to refer to any of database object in the project. Click on any table to go to the Field Setup Page for that table at any time.
After loading the database, the database objects (tables, views, custom views and reports) will be shown in the left pane (the database pane).