<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Condición de salida para un capo de un informe</title><link>https://communities.bentley.com/products/geotechnical1/f/geotechnical-forum/238226/condicion-de-salida-para-un-capo-de-un-informe</link><description>Buenos d&amp;#237;as, necesito poner un criterio o condici&amp;#243;n de salida en un campo dentro de una tabla de propiedades para que en caso de que otro campo est&amp;#233; vac&amp;#237;o o no contenga descripci&amp;#243;n alguna, se lance un texto predeterminado. 
 A&amp;#241;ado un objeto texto y lo</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Condición de salida para un capo de un informe</title><link>https://communities.bentley.com/thread/742055?ContentTypeID=1</link><pubDate>Thu, 17 Nov 2022 12:50:37 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:062ab3d2-2ff3-49ba-b6c6-453e2580f235</guid><dc:creator>Pedro</dc:creator><description>&lt;p&gt;Conseguido, gracias Szang&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Condición de salida para un capo de un informe</title><link>https://communities.bentley.com/thread/741721?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 17:13:44 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:67fe148d-2fb6-4d72-b476-f12263c80d46</guid><dc:creator>szang</dc:creator><description>&lt;p&gt;If you are trying to have an entity print data from your database if it is there, but print default text if it is not, simply modify the original entity text expression as follows&lt;/p&gt;
&lt;p&gt;If the original text entity expression was&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;&amp;lt;PROJECT.Proyecto&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then changing it to&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;&amp;lt;HasData(&amp;lt;&amp;lt;PROJECT.Proyecto&amp;gt;&amp;gt;,&amp;lt;&amp;lt;PROJECT.Proyecto&amp;gt;&amp;gt;,&amp;quot;XXXXXXXXXXX&amp;quot;)&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Will print the data in the field&amp;nbsp;&amp;lt;&amp;lt;PROJECT.Proyecto&amp;gt;&amp;gt; if it is there but will print the text XXXXXXXXX if the field is empty. There is no need for a second entity with an output condition.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Condición de salida para un capo de un informe</title><link>https://communities.bentley.com/thread/741535?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 16:47:09 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f054fd7d-6ee4-4378-b7fa-a046909f7eab</guid><dc:creator>szang</dc:creator><description>&lt;p&gt;NOTE- this post was edited, original post made some recomendations to have text printed if there was data. You want it printed if there is not data. The recomendations below reflect this change&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try your output condition as&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;HasData(&amp;lt;&amp;lt;PROJECT.Proyecto&amp;gt;&amp;gt;, False,True)&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;Or&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;Calc(&lt;span&gt;&amp;lt;&amp;lt;PROJECT.Proyecto&amp;gt;&amp;gt; = &amp;quot;&amp;quot;)&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You could also do it directly in the text property as&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;span&gt;&amp;lt;&amp;lt;HasData(&amp;lt;&amp;lt;PROJECT.Proyecto&amp;gt;&amp;gt;,,&amp;quot;XXXXXXXXXXX&amp;quot;)&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;span&gt;Many other ways to do this.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;span&gt;Hope my google translate allowed me to properly understand your question. If not let me know.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>