{"id":3734,"date":"2016-07-12T03:00:28","date_gmt":"2016-07-11T19:00:28","guid":{"rendered":"http:\/\/www.finereport.com\/en\/?p=3734"},"modified":"2019-10-24T16:24:26","modified_gmt":"2019-10-24T08:24:26","slug":"cell-form","status":"publish","type":"post","link":"https:\/\/www.finereport.com\/en\/product-functions\/cell-form.html","title":{"rendered":"One of Settings  to change cell value &#8211; Form"},"content":{"rendered":"<p>There are four settings in <a title=\"FineReport BI and reporting tool report designer\" href=\"http:\/\/www.finereport.com\/en\/features\/report-designer\" target=\"_blank\">report designer<\/a> to change cell value: form, style form, new value attribute in condition attribute and custom display in advanced attribute of data column.We&#8217;ll study one of them: Form in our <a href=\"http:\/\/www.finereport.com\/en\/\" target=\"_blank\"><span style=\"color:blue;\">business intelligence tool<\/span><\/a>.<\/p>\n<h3>1. Description<\/h3>\n<p>A cell value in report designer is divided into two parts: actual value and display value. Actual value means the actual value of cell, while display value is the value displayed after setting of form and style.<\/p>\n<p>There are four settings in the designer to change cell value: form, style form, new value attribute in condition attribute and custom display in advanced attribute of data column. Among these four settings, some changes display value, and some changes actual value of a cell.<\/p>\n<p>Description will be made to form below. For other three setting methods, refer to <span style=\"color: blue;\">Style<\/span>, <span style=\"color: blue;\">Condition Attribute-New Value<\/span> and <span style=\"color: blue;\">Data Column Custom<\/span> display.<\/p>\n<h3>2. Form setting<\/h3>\n<p>Select the cell for setting. Right click and select Form for setting. There are 4 types of forms: data dictionary, formula form, barcode and amount line, which will be described one by one below:<\/p>\n<p><img class=\"aligncenter\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201671101.png\" alt=\"\" \/><\/p>\n<p><strong>2.1 Data dictionary<\/strong><\/p>\n<p>In original data, what\u2019s saved is the data of code nature. However, data presentation requires meaningful actual value. That means, corresponding data should be displayed based on a coding table. This coding table is data dictionary. Select Cell Form as Data Dictionary. Based on data source for constructing data dictionary, the data dictionary types include: database table, data query, custom and formula.<\/p>\n<p>For example, if there is only Client ID in the table and the corresponding Client Name is in another table, we can display the Client Name in another table through data dictionary setting.<\/p>\n<p>Select the cell. Right click to select menu <span style=\"color: green;\">Form &gt; Data Dictionary<\/span> for setting, as shown below:<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201671102.png\" alt=\"\" width=\"645\" height=\"200\" \/><\/p>\n<p><strong>2.2 Formula form<\/strong><\/p>\n<p>Some complex data dictionaries are used for switching actual value and display value.<\/p>\n<p>Select the cell. Right click to select menu <span style=\"color: green;\">Form &gt; Formula Form<\/span> for setting.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201671103.png\" alt=\"\" width=\"688\" height=\"171\" \/><\/p>\n<p>For detailed usage of formulas, refer to <span style=\"color: blue;\">Function Usage Instructions<\/span>.<\/p>\n<p><strong>2.3 Barcode<\/strong><\/p>\n<p>Barcode is a graphic identifier to represent a group of information like certain characters and numbers with several black bars and blanks in different widths based on certain coding rules.<\/p>\n<p>After setting, barcode will be displayed.<\/p>\n<p>Select the cell. Right click to select menu <span style=\"color: green;\">Form &gt; Barcode<\/span> for setting.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201671104.png\" alt=\"\" width=\"686\" height=\"259\" \/><\/p>\n<p><strong>2.4 Amount line<\/strong><\/p>\n<p>For banking industry, amount lines are used to view amounts in figure. After setting amount lines, the report will display amount line format.<\/p>\n<p>Select the cell. Right click to select menu <span style=\"color: green;\">Form &gt; Amount Line<\/span> for setting.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201671105.png\" alt=\"\" width=\"671\" height=\"244\" \/><\/p>\n<p><strong>2.5 Cancel form setting<\/strong><\/p>\n<p>Select the cell. Right click to select menu <span style=\"color: green;\">Form &gt; Cancel Form Setting<\/span> to cancel related form settings.<\/p>\n<p>See <span style=\"color: purple;\">%FR_HOME%\\WebReport\\WEB-INF\\reportlets\\doc\\Primary\\DetailReport\\Details_1.cpt<\/span> for completed templates.<\/p>\n<h3>3. Priority<\/h3>\n<table class=\"centered\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Action<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Change display value or actual value of a cell<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Execution sequence<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Custom display of data column<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Display value<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Cell format<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Display value<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">2<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Cell style<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Display value<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">2<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Condition<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">Display value<\/td>\n<td style=\"text-align: center;\" width=\"200\" height=\"150\">3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>There are four settings in report designer to change cell value: form, style form, new value attribute in condition attribute and custom display in advanced attribute of data column.We&#8217;ll study one of them: Form in our business intelligence tool. 1. Description A cell value in report designer is divided into two parts: actual value and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[111],"tags":[117],"yst_prominent_words":[2169,2164],"_links":{"self":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/3734"}],"collection":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/comments?post=3734"}],"version-history":[{"count":9,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/3734\/revisions"}],"predecessor-version":[{"id":8544,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/3734\/revisions\/8544"}],"wp:attachment":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/media?parent=3734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/categories?post=3734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/tags?post=3734"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=3734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}