<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Are there any example Default Value Expressions for Data Entry?</title><link>https://communities.bentley.com/products/geotechnical1/w/openground-wiki/53849/are-there-any-example-default-value-expressions-for-data-entry</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Are there any example Default Value Expressions for Data Entry?</title><link>https://communities.bentley.com/products/geotechnical1/w/openground-wiki/53849/are-there-any-example-default-value-expressions-for-data-entry</link><pubDate>Mon, 22 Mar 2021 16:02:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2302c37b-17d5-46da-9a21-e99ef63dcfc4</guid><dc:creator>Stephen Evason</dc:creator><comments>https://communities.bentley.com/products/geotechnical1/w/openground-wiki/53849/are-there-any-example-default-value-expressions-for-data-entry#comments</comments><description>Current Revision posted to OpenGround Wiki by Stephen Evason on 3/22/2021 4:02:01 PM&lt;br /&gt;
&lt;h2&gt;Question&lt;/h2&gt;
&lt;p&gt;Are there any example Data Entry Default Value Expressions?&lt;/p&gt;
&lt;h2&gt;Answer&lt;/h2&gt;
&lt;p&gt;This page contains a number of example expressions to specify default values for Data Entry. If you require an expression that is not included on this page then please contact support or add a comment to the bottom of this page and we will advise you if the expression is possible and add it to this page.&lt;/p&gt;
&lt;h2&gt;Explanation&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;&amp;#39;RJC&amp;#39;&lt;/i&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Default text can be added by enclosing it in single quotes&lt;/li&gt;
&lt;li&gt;&lt;i&gt;100&lt;/i&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Default values can be added by just typing the number (no need to enclose in quotes)&lt;/li&gt;
&lt;li&gt;&lt;i&gt;count() + 1&lt;/i&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Make the number equal to the number of rows in the grid. Ideal for sample reference&lt;/li&gt;
&lt;li&gt;&lt;i&gt;[LocationDetails.FinalDepth]&lt;/i&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;Make the number equal to the final depth of the location&lt;/li&gt;
&lt;li&gt;&lt;i&gt;if(count()=0,0,max(&amp;#39;DepthBase&amp;#39;))&lt;/i&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;If this is the first row then set to zero, else set to the maximum value of DepthBase. Used for geology top values.&lt;/li&gt;
&lt;li&gt;&lt;i&gt;if(count()=0,0,max(&amp;#39;DepthTop&amp;#39;) + 0.1)&lt;/i&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;if this is the first row then set to zero, else set to the maximum value plus 0.1. Used for depths for dynamic blows.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>