<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7362423723977217665</id><updated>2024-09-22T21:32:25.369-07:00</updated><category term="Presentation"/><category term="Utils"/><category term="Support"/><title type='text'>QlikMan</title><subtitle type='html'>Qlikview stuff. Codes, tips, etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://qlikman.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://qlikman.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Adriano W Almeida</name><uri>http://www.blogger.com/profile/15073634124460455429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7362423723977217665.post-486511548726742977</id><published>2010-11-26T08:59:00.000-08:00</published><updated>2010-11-26T09:05:29.857-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Presentation"/><title type='text'>DAMN YOU ZEROS AND NULLS!!!</title><content type='html'>Damn, lots of time wasted with sheets and checking!!! The Excel seems to keep fighting the almighty Qlik.&lt;br /&gt;
&lt;br /&gt;
Basically I am creating a table that will show the&amp;nbsp;survey&amp;nbsp;form in a tabular way. I have some columns that have 0 values and other with null values.&lt;br /&gt;
&lt;br /&gt;
The Qlikview has some options to treat zeros and nulls. Below is a little explanation&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;WHAT:&lt;/b&gt;&lt;br /&gt;
How to show the columns in a pivot table with the real values if they are zero or null. Check the question 4 (column 5) &amp;nbsp;and CODAVAL 173624 and 173626 (rows 7 and 8).&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ctb2S_fupK0X6nWq5xpy3O_EQr_zHC2RwKPkmdWfQkUP7oflKktTo01GCkSG-zcaTL4Njig-TF1-M7qv1-OWkLzHg4h7NoEy22hq64CdlZxGENBvvk0YGn7ne6nxpCyKSQPuEZJVimw/s1600/objective.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ctb2S_fupK0X6nWq5xpy3O_EQr_zHC2RwKPkmdWfQkUP7oflKktTo01GCkSG-zcaTL4Njig-TF1-M7qv1-OWkLzHg4h7NoEy22hq64CdlZxGENBvvk0YGn7ne6nxpCyKSQPuEZJVimw/s400/objective.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;HOW&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;The default configuration comes with a set of flags that you can not set again after you have made the changes.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPzgkU_B0L4mnRrAkCW0EGO4wL2nSc_W6_LTa0cyg5EQBbxUAvGXbGSwwldhwxv-iWIDcSfIX5XRqVG3uR29AQEn-Uyws1TH29cH7RabfIAb_dYEsaR__OGJFwu7nDBggcswB5J8Q9dYQ/s1600/default1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPzgkU_B0L4mnRrAkCW0EGO4wL2nSc_W6_LTa0cyg5EQBbxUAvGXbGSwwldhwxv-iWIDcSfIX5XRqVG3uR29AQEn-Uyws1TH29cH7RabfIAb_dYEsaR__OGJFwu7nDBggcswB5J8Q9dYQ/s400/default1.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;The result is:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGnpttVAWQXNEG-JLePEqBmrRioFaavOZpPmc2q7dv6DFEm3WixmGqcFfixVjUBVpJ3iytT3VTqeAxwEbmSy43yHqRXyeSkwOlA-mrskbsdPUHTndwqHJ_-E8Hix5FXUjkthCdHVpltGg/s1600/default.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;40&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGnpttVAWQXNEG-JLePEqBmrRioFaavOZpPmc2q7dv6DFEm3WixmGqcFfixVjUBVpJ3iytT3VTqeAxwEbmSy43yHqRXyeSkwOlA-mrskbsdPUHTndwqHJ_-E8Hix5FXUjkthCdHVpltGg/s400/default.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Note that the question 4 is gone and that I have only one survey form shown (CODAVAL)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Setting the configuration below&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb7mJErum-UwIo-lcrde5CMJ8gG_XsebCgp9wlPjapiyGJFn1FdL-tIiSm9HIfLhoJfMe7hJKt6ZIhSGN4QAbbSt_mpWfyC_V0DDEGJ4N3lJOwYAD0vSKpEU2Y1kaGo7BjeQTqV_1TYW0/s1600/popular1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb7mJErum-UwIo-lcrde5CMJ8gG_XsebCgp9wlPjapiyGJFn1FdL-tIiSm9HIfLhoJfMe7hJKt6ZIhSGN4QAbbSt_mpWfyC_V0DDEGJ4N3lJOwYAD0vSKpEU2Y1kaGo7BjeQTqV_1TYW0/s1600/popular1.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Makes the null becomes 0.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2LZ73ySEUL2LFZqmtocz86PZ_eJ7WMjpvEDGnYGIhk9U2pp0q8RiJfJMCdntIM9TBR-vvVlJrn7egXaldXHw4X6LLZUHe-Bds0_mzK8EDEe56Zsq2HoKyNa5L1C7RFntVVyD4J4JQQP8/s1600/popular.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;61&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2LZ73ySEUL2LFZqmtocz86PZ_eJ7WMjpvEDGnYGIhk9U2pp0q8RiJfJMCdntIM9TBR-vvVlJrn7egXaldXHw4X6LLZUHe-Bds0_mzK8EDEe56Zsq2HoKyNa5L1C7RFntVVyD4J4JQQP8/s400/popular.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Set hide zeros&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifcx-fVuz2-j1EycWDZXsXyHOyOHXXZxyarP3sHB8c3ACQLqw_TalPgYoycIGXRdoh7OxqHqnjma07Vz91kNFiQxWk6F0ElWOFiy3cvVpoaduMiB3zv8DNwwJakruJ3fRp5MBJ0vBMIWA/s1600/semzero1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifcx-fVuz2-j1EycWDZXsXyHOyOHXXZxyarP3sHB8c3ACQLqw_TalPgYoycIGXRdoh7OxqHqnjma07Vz91kNFiQxWk6F0ElWOFiy3cvVpoaduMiB3zv8DNwwJakruJ3fRp5MBJ0vBMIWA/s1600/semzero1.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;It will make the 0s disappear:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJKuNAsXpNkjHcKNiW3yqY1Td0uS2rLicgFofFV0QtQqMXRb-XkQRwjrCFlbeuUpRGgBWjAeWL_kwhVaLJoE9Rgz4AkiGOtV4UFUa6HG14U_RpYePriaYyTzbucaTe2dRdvwqXwlNDjFQ/s1600/semzero.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;75&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJKuNAsXpNkjHcKNiW3yqY1Td0uS2rLicgFofFV0QtQqMXRb-XkQRwjrCFlbeuUpRGgBWjAeWL_kwhVaLJoE9Rgz4AkiGOtV4UFUa6HG14U_RpYePriaYyTzbucaTe2dRdvwqXwlNDjFQ/s400/semzero.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Last but not least, the &quot;correct&quot; form in this case would be:&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqt42QxqgR7mrH-gVpPZlPGPhcTAQZ1Ia7R3jmwZoY_5xAh9knIDk1w6mzbm_huPv5iaj5fHXbSreIpxyyKBG7upgyL7hkbBZmw4Q85_I4wGHt9zSnUvZdTzqSWn7QXtjqv6kklAM8tMU/s1600/correto1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqt42QxqgR7mrH-gVpPZlPGPhcTAQZ1Ia7R3jmwZoY_5xAh9knIDk1w6mzbm_huPv5iaj5fHXbSreIpxyyKBG7upgyL7hkbBZmw4Q85_I4wGHt9zSnUvZdTzqSWn7QXtjqv6kklAM8tMU/s1600/correto1.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Making the zeros shown as zeros and the null columns as null.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-FTdR4DmC5xv_bUYHlOF55zSVRkc8SpN9XtIy_t7gOMXvvKqKikJqI8YfuY5FldIjhn936-jao_H9hYJ4DKipkQtUQRYwpa8jiM6wC7SMcVQ-lcYnwcaCiro_xaIFqh4S_QhSokMqwyk/s1600/correto.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-FTdR4DmC5xv_bUYHlOF55zSVRkc8SpN9XtIy_t7gOMXvvKqKikJqI8YfuY5FldIjhn936-jao_H9hYJ4DKipkQtUQRYwpa8jiM6wC7SMcVQ-lcYnwcaCiro_xaIFqh4S_QhSokMqwyk/s400/correto.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Now if you export the table to an Excel, and make some calculus over it, it will show the same values.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Avg, sums, etc would work as a charm on an Excel sheet.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Cheers!!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qlikman.blogspot.com/feeds/486511548726742977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7362423723977217665/486511548726742977?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/486511548726742977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/486511548726742977'/><link rel='alternate' type='text/html' href='http://qlikman.blogspot.com/2010/11/damn-you-zeros-and-nulls.html' title='DAMN YOU ZEROS AND NULLS!!!'/><author><name>Adriano W Almeida</name><uri>http://www.blogger.com/profile/15073634124460455429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ctb2S_fupK0X6nWq5xpy3O_EQr_zHC2RwKPkmdWfQkUP7oflKktTo01GCkSG-zcaTL4Njig-TF1-M7qv1-OWkLzHg4h7NoEy22hq64CdlZxGENBvvk0YGn7ne6nxpCyKSQPuEZJVimw/s72-c/objective.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7362423723977217665.post-5973364444142658163</id><published>2010-10-11T08:50:00.000-07:00</published><updated>2010-10-11T08:50:53.381-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Utils"/><title type='text'>Bye bye NAVIGATION TABS</title><content type='html'>After a little vacation, let´s get to work.&lt;br /&gt;
&lt;br /&gt;
I don´t know why, but I don´t like using the navigation tab buttons on my reports. Probably it is because I have to set lots of properties and create the same objects (filters, logo, report name, etc) for each of the tabs.&lt;br /&gt;
&lt;br /&gt;
A couple of months ago I started using&amp;nbsp; object´s conditional show to&amp;nbsp;create a&amp;nbsp;tab that would have all my objects. When pressing a &quot;Dashboard&quot; button, the dashboard objects would appear. When pressing a &quot;Regional&quot; button, only the regional objects would appear. &lt;br /&gt;
&lt;br /&gt;
The biggest problem with this approach is that I needed to set individually the condition that would make the objects appear or not.&lt;br /&gt;
&lt;br /&gt;
To make my job easier, I have come with the macro below so that I can write my condition, choose the objects I want and then set for all of them the same condition making the development and maintenance easier. It is almost a group condition.&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
WHAT&lt;br /&gt;
&amp;nbsp;I have took&amp;nbsp;the macro below and changed it a little to allow setting a &quot;conditional show&quot; for multiple objects. &lt;br /&gt;
&lt;br /&gt;
HOW&lt;br /&gt;
You cannot use a button to call the&amp;nbsp;macro. If you do, when pressing the buttons the objects you have selected to apply the macro will be deselected and the macro will be applied over the button. We need to make a little workaround when using the macro.&lt;br /&gt;
&lt;br /&gt;
1. first create 2 vars: &lt;span style=&quot;color: blue;&quot;&gt;vLayout&lt;/span&gt; and &lt;span style=&quot;color: blue;&quot;&gt;vShowCondText&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp;copy the code to the Macro Module:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sub setShowCondition&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39; vars&lt;br /&gt;
set doc = ActiveDocument&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39; grab the text to be used as the condition&lt;br /&gt;
condText = ActiveDocument.Variables(&quot;vShowCondText&quot;).GetContent.String&lt;br /&gt;
&#39; msgBox(condtext)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39; traverse the selected objects setting the new condition text&lt;br /&gt;
set s=doc.ActiveSheet&lt;br /&gt;
objs=s.GetActiveSheetObjects&lt;br /&gt;
for i=lbound(objs) to ubound(objs)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&#39; get the object&#39;s name and property&lt;br /&gt;
&amp;nbsp; &amp;nbsp;set objInt = objs(i)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;objID = replace(objInt.GetObjectId,&quot;Document\&quot;,&quot;&quot;)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;set obj = doc.GetSheetObject(objID)&lt;br /&gt;
&amp;nbsp; &amp;nbsp;objProp = obj.GetProperties&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp;&#39; as each object has diferent places for the frame object, treat them differently&lt;br /&gt;
&amp;nbsp; &amp;nbsp;select Case objs(i).GetObjectType&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;Case 1,2,3,4,6,7,8,9,17,18,19,34,35 &#39;LB,MB,SB,TB,TX,CS,IB,LA&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;objProp.Layout.Frame.Show.Always = false&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;objProp.Layout.Frame.Show.Expression.v = condText&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;Case 5,31 &#39;BU,SO&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;objProp.Frame.Show.Always = false&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;objProp.Frame.Show.Expression.v = condText&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;Case 10,11,12,13,14,15,16,20,21,22,27,28 &#39;CH&#39;s&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objProp.GraphLayout.Frame.Show.Always = false&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;objProp.GraphLayout.Frame.Show.Expression.v = condText&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Case Else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msgbox(&quot;ObjectID: &quot; &amp;amp;objID &amp;amp; &quot; with objectType: &quot; &amp;amp; objs(i).GetObjectType &amp;amp;&quot; couldn&#39;t be found, trying LB settings&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;objProp.Layout.Frame.Show.Always = false&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;objProp.Layout.Frame.Show.Expression.v = condText&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end select&lt;br /&gt;
&amp;nbsp; &amp;nbsp;obj.SetProperties objProp&lt;br /&gt;
&amp;nbsp;&amp;nbsp;next&lt;br /&gt;
end sub&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;USING THE MACRO&lt;br /&gt;
&lt;ol&gt;&lt;/ol&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;1. Create the button. &lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJqbZ20OHtV7g9ocw-Y2PExDottPXDU9vJzMByuyBAZkQ_NJCPQuRq7ObvxWyQSX-eMvpWa9m3nLPoMRByPGjwxwK5NnN3WMfjzt20z6N_zxeH5QGsh25Vl_Ca-yUEXuYknnvSUfUARCg/s1600/botao.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; ex=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJqbZ20OHtV7g9ocw-Y2PExDottPXDU9vJzMByuyBAZkQ_NJCPQuRq7ObvxWyQSX-eMvpWa9m3nLPoMRByPGjwxwK5NnN3WMfjzt20z6N_zxeH5QGsh25Vl_Ca-yUEXuYknnvSUfUARCg/s1600/botao.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;2. Configure it to set the value to the &lt;span style=&quot;color: blue;&quot;&gt;vLayout&lt;/span&gt; variable.&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTfOXQWIk7pob4laoiTwTbZ_07kIukucJG5iD7g4Wn8TO9n3UOa5p6D0DRoQyz2uU6q4q8NTr3-KVBThBJ5h_eBWz1pmmdMNJRcWgz_qAp4S94vMbpqs2GmHhlWdiZV-D9y_v91LHMfyg/s1600/botaoset.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; ex=&quot;true&quot; height=&quot;140&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTfOXQWIk7pob4laoiTwTbZ_07kIukucJG5iD7g4Wn8TO9n3UOa5p6D0DRoQyz2uU6q4q8NTr3-KVBThBJ5h_eBWz1pmmdMNJRcWgz_qAp4S94vMbpqs2GmHhlWdiZV-D9y_v91LHMfyg/s320/botaoset.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;3.&amp;nbsp;Write the condition you want. I have created an input object that will set automatically the value to the var &lt;span style=&quot;color: blue;&quot;&gt;vShowCondText.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicma7H3HlJEaBj44ExFLnI06haSls9FPaYTkIVYqflS-WoLV35_OMgaOSdvIhISIlrm8C1NSje-Er_y8OCMBLa_v-hxwr5j8lEG1zqPQFxX2t0VsQhcFJqDVB2bMsQpmA8zC3RlDx2ahk/s1600/ConditionText.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; ex=&quot;true&quot; height=&quot;96&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicma7H3HlJEaBj44ExFLnI06haSls9FPaYTkIVYqflS-WoLV35_OMgaOSdvIhISIlrm8C1NSje-Er_y8OCMBLa_v-hxwr5j8lEG1zqPQFxX2t0VsQhcFJqDVB2bMsQpmA8zC3RlDx2ahk/s320/ConditionText.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
4. Select the objects you want to set the condition.&lt;br /&gt;
&lt;br /&gt;
5. Now, the workaround part. Open the Module Screen (CTRL+M). Select the function &lt;span style=&quot;color: blue;&quot;&gt;setShowCondition &lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;on the left side.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY4vPwptxo41RYHSy_E1vuiWZNjUZ9BjOeU5M0NxbAySXwqXhfYYFgmucP2jfqdbNJ8Hy3JMRjdpUA1Ms4iVktkPV_-R4ixlt9WCMrd50yw6LhYNhC1jQjsMM9jHTKPrrpJad7qEB-7lw/s1600/Function.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; ex=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY4vPwptxo41RYHSy_E1vuiWZNjUZ9BjOeU5M0NxbAySXwqXhfYYFgmucP2jfqdbNJ8Hy3JMRjdpUA1Ms4iVktkPV_-R4ixlt9WCMrd50yw6LhYNhC1jQjsMM9jHTKPrrpJad7qEB-7lw/s1600/Function.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;&quot;&gt;6. Below the function list, click the TEST button . It will execute the macro chosen before.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwNGKTAga8X8oILZtgJgNpZlXoyXEl97T8WrfQV_riXDgyFY8xhIjOIvY43oPzH-yklYfKpyUEg2NOgSS00ZhyphenhyphenkfYiF4eiomCn53ehoQjF5aPAOZs5aDRn29z88j5Dcb5oHdTv7HyGwmU/s1600/Teste.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; ex=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwNGKTAga8X8oILZtgJgNpZlXoyXEl97T8WrfQV_riXDgyFY8xhIjOIvY43oPzH-yklYfKpyUEg2NOgSS00ZhyphenhyphenkfYiF4eiomCn53ehoQjF5aPAOZs5aDRn29z88j5Dcb5oHdTv7HyGwmU/s1600/Teste.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;That´s it. When pressing the new button, the objects will appear. You may want to create a logic to set/unset the &lt;span style=&quot;color: blue;&quot;&gt;vLayout&lt;/span&gt; variable so that the same button enables/disables the objects, or create another button that will set another value to &lt;span style=&quot;color: blue;&quot;&gt;vLayout&lt;/span&gt;, making the objects with the value PRINCIPAL&amp;nbsp;to disappear appearing the new ones.&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;Hope it helps. Please comment.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qlikman.blogspot.com/feeds/5973364444142658163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7362423723977217665/5973364444142658163?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/5973364444142658163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/5973364444142658163'/><link rel='alternate' type='text/html' href='http://qlikman.blogspot.com/2010/10/bye-bye-navigation-tabs.html' title='Bye bye NAVIGATION TABS'/><author><name>Adriano W Almeida</name><uri>http://www.blogger.com/profile/15073634124460455429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJqbZ20OHtV7g9ocw-Y2PExDottPXDU9vJzMByuyBAZkQ_NJCPQuRq7ObvxWyQSX-eMvpWa9m3nLPoMRByPGjwxwK5NnN3WMfjzt20z6N_zxeH5QGsh25Vl_Ca-yUEXuYknnvSUfUARCg/s72-c/botao.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7362423723977217665.post-216769897354461245</id><published>2010-09-15T17:34:00.001-07:00</published><updated>2010-10-11T08:51:56.150-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Utils"/><title type='text'>You have the right to remain still!!</title><content type='html'>All the credits go for Guerrila BI. Nice macro he did. Check the original post at http://guerrillabi.com/node/26&lt;br /&gt;
&lt;br /&gt;
Before publishing a Report it is good to make all the objects static. This is specially true with the version 9 that the user is allowed to create his own objects and move the original ones.&lt;br /&gt;
&lt;br /&gt;
I was making my little precious this morning when I bumped into the post above. The first thing I though was F#$. I had spent a couple of ours in the making to discover that the work was already done.&lt;br /&gt;
&lt;br /&gt;
Anyway, below goes the code with a little adaptation:&lt;br /&gt;
&lt;br /&gt;
What&lt;br /&gt;
&lt;br /&gt;
Create a set of button that will enable/disable the move operation for all objects. Perfect for report design then publish.&lt;br /&gt;
&lt;br /&gt;
How&lt;br /&gt;
&lt;br /&gt;
At the edit module (CTRL+M) paste the code below. It will basically&amp;nbsp;traverse&amp;nbsp;all sheets and all objects to enable/disable move. The commented code is the original code that I did not use. Maybe you will.&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; Enable the move resize for all objects on the report.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;sub EnableMove&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; do the magic&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;setMove TRUE,TRUE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;end sub&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; Disable the move resize for all objects on the report.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;sub DisableMove&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; do the magic&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;setMove FALSE,FALSE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;end sub&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; Set the move properties to all objects&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;msVal - Move/Size setting for non-chart objects&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;chVal - Copy/Clone setting for non-chart objects&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;amVal - Auto Minimize setting for chart objects&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;ccVal - Move/Size setting for chart objects&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;function setMove (msVal, ccVal)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;set doc = ActiveDocument&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; for all the sheets set the property chosen&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;for j = 0 to ActiveDocument.NoOfSheets - 1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;set s=ActiveDocument.GetSheet(j)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;objs=s.GetSheetObjects&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; for all objects&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;for i=lbound(objs) to ubound(objs)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; get the object&#39;s name and property&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;set objInt = objs(i)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;objID = replace(objInt.GetObjectId,&quot;Document\&quot;,&quot;&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;msgbox(&quot;obj ID &quot; &amp;amp; objID &amp;amp;&quot; has the objType &quot; &amp;amp; objs(i).GetObjectType)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;set obj = doc.GetSheetObject(objID)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;objProp = obj.GetProperties&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39; as each object has diferent places for the frame object, treat them differently&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;select Case objs(i).GetObjectType&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Case 1,2,3,4,6,7,8,9,17,18,19,34,35 &#39;LB,MB,SB,TB,TX,CS,IB,LA&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;objProp.Layout.Frame.AllowMoveSize = msVal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;objProp.Layout.Frame.AllowCopyClone = ccVal&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Case 5,31 &#39;BU,SO&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;objProp.Frame.AllowMoveSize = msVal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Case 10,11,12,13,14,15,16,20,21,22,27,28 &#39;CH&#39;s&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;objProp.GraphLayout.Frame.AllowMoveSize =&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;msVal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;objProp.GraphLayout.Frame.AllowCopyClone = ccVal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;objProp.GraphLayout.Frame.AutoMinimize = amVal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Case Else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;msgbox(&quot;ObjectID: &quot; &amp;amp;objID &amp;amp; &quot; with objectType: &quot; &amp;amp; objs(i).GetObjectType &amp;amp;&quot; couldn&#39;t be found, trying LB settings&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;objProp.Layout.Frame.AllowMoveSize = msVal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&#39;objProp.Layout.Frame.AllowCopyClone = ccVal&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;end select&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;obj.SetProperties objProp&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;next&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;next&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;end function&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
Now create the buttons and call the subs EnableMove and DisableMove. Good thing to let them hidden before publishing.&lt;br /&gt;
&lt;br /&gt;
And VIVA LA REVOLUCIÓN!!!</content><link rel='replies' type='application/atom+xml' href='http://qlikman.blogspot.com/feeds/216769897354461245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7362423723977217665/216769897354461245?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/216769897354461245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/216769897354461245'/><link rel='alternate' type='text/html' href='http://qlikman.blogspot.com/2010/09/macro-for-enabledisable-moving-of.html' title='You have the right to remain still!!'/><author><name>Adriano W Almeida</name><uri>http://www.blogger.com/profile/15073634124460455429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7362423723977217665.post-5285754640075488119</id><published>2010-09-14T16:19:00.000-07:00</published><updated>2010-09-14T16:19:32.629-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Support"/><title type='text'>Finding differences with QlikView.</title><content type='html'>After various months checking&amp;nbsp;synchronization&amp;nbsp;data I have done a report that will tell me which information is present in one side and not in the other. After creating that, I needed to check why the hell the info&amp;nbsp;didn&#39;t went to the other system. After all the analysis I had a list with the items that had problems.&lt;br /&gt;
&lt;br /&gt;
Good. Now what? Export to excel and create the query. These days are gone for me!!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What:&lt;/b&gt;&lt;br /&gt;
Create the search query based on a list box selection of the report.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;I have made an inline load with all the queries I use to check (all the tables as well) info separated by System and subsystem.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;LOAD * INLINE [&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SYSTEM, &amp;nbsp;SUBSYSTEM, QUERY&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SENDER, &amp;nbsp; INVOICES, &quot;select * &amp;nbsp; from INVOICES a, &amp;nbsp;INVOICES_BODY b where a.invoice_num = b.a.invoice_num and a.invoice_num in ( &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;RECEIVER, INVOICES, &quot;select * &amp;nbsp; from usr_inv.inv_data a, &amp;nbsp;usr_data.invoices b &amp;nbsp;where a.code = b.code &amp;nbsp; &amp;nbsp;and b.code in ( &quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;];&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Loaded the invoice nr for both system in the same table, having a column called system with the system name RECEIVER and SENDER;&lt;/li&gt;
&lt;li&gt;Created two tables, one only with RECEIVER and other with SENDER data using set analisys on expression &amp;nbsp;( &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;count ( {&amp;lt;SYSTEM= {&#39;SENDER&#39;}&amp;gt;} distinct INV_NR )&lt;/span&gt;&amp;nbsp;) and the SUBSYTEM as dimension;&lt;/li&gt;
&lt;li&gt;Created one calculated list (Nr of Systems) with the number of system that an Invoice is present (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; =aggr(count(distinct&amp;nbsp;SUBSYSTEM) ,&amp;nbsp;INV_NR&amp;nbsp;)&lt;/span&gt; &amp;nbsp;). As we have 2 systems here, it should show 1 for invoices only on one system and 2 for both systems;&lt;/li&gt;
&lt;li&gt;Created a filter for the SUBSYSTEM;&lt;/li&gt;
&lt;li&gt;One textbox that will convert the list to string and merge with the query ( &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;=Only(QUERY) &amp;amp; Concat(CODREALIZACAO,&#39;,&#39;) &amp;amp;&#39; )&#39;&lt;/span&gt; &amp;nbsp; ). This will only be shown if I have selected a Subsystem and Nr of Systems.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;When&amp;nbsp;clicking&amp;nbsp;the list of number of system, it will show me the amount I have in one side and not on another. Clicking on System, will show my List Box and will show me the query I need to executed over a PL/SQL Program.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;That´s it. The versatility of Qlikview, it´s clicking options and the possibility of loading from multiple sources.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qlikman.blogspot.com/feeds/5285754640075488119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7362423723977217665/5285754640075488119?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/5285754640075488119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/5285754640075488119'/><link rel='alternate' type='text/html' href='http://qlikman.blogspot.com/2010/09/finding-differences-with-qlikview.html' title='Finding differences with QlikView.'/><author><name>Adriano W Almeida</name><uri>http://www.blogger.com/profile/15073634124460455429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7362423723977217665.post-7999126378084582530</id><published>2010-08-25T06:21:00.000-07:00</published><updated>2010-09-14T16:20:27.836-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Presentation"/><title type='text'>Custom Buttons</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Custom Buttons&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Not a great tip, but it could make things a little more stylish.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;What:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Qlikview has a functionality to use custom button design. It is basically a 3 state image that will be the active state, pressed state and the inactive state.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj07I2S5To0Uk_laP1-8W8377iRJ0hgoXv2Q1iHv_fkCAa4cCnNdOa3rjwM-DENqlkGFAN5lwiIBoHY4Tnk-vW482TeEszImT7jIapPbjOYbGO_v5K2N9zn8vmgLB6DX6fKkLASfsnfttA/s1600/botoes3estagios13075.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj07I2S5To0Uk_laP1-8W8377iRJ0hgoXv2Q1iHv_fkCAa4cCnNdOa3rjwM-DENqlkGFAN5lwiIBoHY4Tnk-vW482TeEszImT7jIapPbjOYbGO_v5K2N9zn8vmgLB6DX6fKkLASfsnfttA/s320/botoes3estagios13075.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;3 state image&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;br /&gt;
&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;br /&gt;
&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;How:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Crate the image with the 3 states side by side with the order stated below. Add a button to the sheet, click with the right mouse button and then properties.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Main sheet,&amp;nbsp; Background select image and below it Combined Image. Select the image and &lt;/span&gt;&lt;span lang=&quot;FR&quot;&gt;voilà.&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrTjbLyHPPTMwzCK5i_c3zplb8BAhgNJnGLcSQe4ik3jZCna4NHkavoH6yBNSilfZOkncpFHNlW5zuR_JGV4xXAPSJp1XvlYeQ5Lfu1QH9r06wJxXv2UvwnSQdWupyKoRtLEC1mrkDFIE/s1600/result.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrTjbLyHPPTMwzCK5i_c3zplb8BAhgNJnGLcSQe4ik3jZCna4NHkavoH6yBNSilfZOkncpFHNlW5zuR_JGV4xXAPSJp1XvlYeQ5Lfu1QH9r06wJxXv2UvwnSQdWupyKoRtLEC1mrkDFIE/s320/result.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Regular button versus custom button.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://qlikman.blogspot.com/feeds/7999126378084582530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7362423723977217665/7999126378084582530?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/7999126378084582530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/7999126378084582530'/><link rel='alternate' type='text/html' href='http://qlikman.blogspot.com/2010/08/custom-buttons.html' title='Custom Buttons'/><author><name>Adriano W Almeida</name><uri>http://www.blogger.com/profile/15073634124460455429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj07I2S5To0Uk_laP1-8W8377iRJ0hgoXv2Q1iHv_fkCAa4cCnNdOa3rjwM-DENqlkGFAN5lwiIBoHY4Tnk-vW482TeEszImT7jIapPbjOYbGO_v5K2N9zn8vmgLB6DX6fKkLASfsnfttA/s72-c/botoes3estagios13075.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7362423723977217665.post-6892955534497392412</id><published>2010-08-17T10:04:00.000-07:00</published><updated>2010-08-25T06:21:32.064-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Presentation"/><title type='text'>Blinking Lights on QlikView</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
Well,&lt;br /&gt;
&lt;br /&gt;
this is the first in this new blog.&lt;br /&gt;
&lt;br /&gt;
Sometimes managers ask for a little more than a static BI. They want a PPT full of animations but with the functionalities of a PPT. I´ve tried a couple of animation tests, but no real success as Qlikview updates the screen only after the macro is run.&lt;br /&gt;
&lt;br /&gt;
This will not change your life, but may help you to improve your report a little:&lt;br /&gt;
&lt;br /&gt;
- when choosing a color for a gauge choose to be a calculated color.&lt;br /&gt;
- check the RGB code for the color you want and use the function =&lt;i&gt;RGB&lt;/i&gt;(220*vBlink,48*vBlink,52*vBlink) replacing the numbers by the RGB code you have.&lt;br /&gt;
- use the edit variable screen (CTRL+ALT+V) and create a variable called vBlink and set it to be =&lt;i&gt;Mod&lt;/i&gt;(&lt;i&gt;Second&lt;/i&gt;(&lt;i&gt;now&lt;/i&gt;()),2)&lt;br /&gt;
- there you go. Lights Blinking&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
- Mod function will return the rest of the division operation by the second function by 2 (in this case)&lt;br /&gt;
- By using the Second function, the var is constantly updated and the rest (1 or 0) is passed to the variable&lt;br /&gt;
- The RGB function will be (0,0,0) - black or&amp;nbsp;(220,48,52) - the color I wanted.&lt;br /&gt;
&lt;br /&gt;
And that´s the trick</content><link rel='replies' type='application/atom+xml' href='http://qlikman.blogspot.com/feeds/6892955534497392412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7362423723977217665/6892955534497392412?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/6892955534497392412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7362423723977217665/posts/default/6892955534497392412'/><link rel='alternate' type='text/html' href='http://qlikman.blogspot.com/2010/08/blinking-lights-on-qlik-view.html' title='Blinking Lights on QlikView'/><author><name>Adriano W Almeida</name><uri>http://www.blogger.com/profile/15073634124460455429</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>