mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 20:47:06 +08:00
48 lines
2.7 KiB
HTML
48 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>DMAX Function</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="description" content="" />
|
|
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
|
|
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
|
|
<script type="text/javascript" src="../callback.js"></script>
|
|
<script type="text/javascript" src="../../../../../../common/main/resources/help/search/js/page-search.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="mainpart">
|
|
<div class="search-field">
|
|
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
|
|
</div>
|
|
<h1>DMAX Function</h1>
|
|
<p>The <b>DMAX</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#database" onclick="onhyperlinkclick(this)">database functions</a>. It is used to return the largest number in a field (column) of records in a list or database that matches conditions that you specify.</p>
|
|
<h3>Syntax</h3>
|
|
<p><b><em>DMAX(database, field, criteria)</em></b></p>
|
|
<p>The <b>DMAX</b> function has the following arguments:</p>
|
|
<table style="width: 40%">
|
|
<tr>
|
|
<th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
|
|
<th style="background-color: #f4f4f4"><b>Description</b></th>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>database</em></b></td>
|
|
<td>The range of cells that make up a database. It must contain column headings in the first row.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>field</em></b></td>
|
|
<td>An argument that specifies which field (i.e. column) should be used. It can be specified as a number of the necessary column, or the column heading enclosed in quotation marks.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><b><em>criteria</em></b></td>
|
|
<td>The range of cells that contain conditions. It must contain at least one field name (column heading) and at least one cell below that specifies the condition to be applied to this field in the database. The <b><em>criteria</em></b> cell range should not overlap the <b><em>database</em></b> range.</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Notes</h3>
|
|
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>DMAX</b> function.</p>
|
|
|
|
<h3>Examples</h3>
|
|
<p>The figure below displays the result returned by the <b>DMAX</b> function.</p>
|
|
<p><img alt="DMAX Function" src="../images/dmax.png" /></p>
|
|
</div>
|
|
</body>
|
|
</html> |