<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Douglas Anunciação</title>
	<atom:link href="http://douglasanunciacao.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://douglasanunciacao.wordpress.com</link>
	<description>Só mais um site WordPress.com</description>
	<lastBuildDate>Tue, 21 Feb 2012 14:51:22 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='douglasanunciacao.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Douglas Anunciação</title>
		<link>http://douglasanunciacao.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://douglasanunciacao.wordpress.com/osd.xml" title="Douglas Anunciação" />
	<atom:link rel='hub' href='http://douglasanunciacao.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Palestra Tech-ed Brasil 2011: Backup e Restore com SharePont 2010</title>
		<link>http://douglasanunciacao.wordpress.com/2012/02/21/palestra-tech-ed-brasil-2011-backup-e-restore-com-sharepont-2010/</link>
		<comments>http://douglasanunciacao.wordpress.com/2012/02/21/palestra-tech-ed-brasil-2011-backup-e-restore-com-sharepont-2010/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 14:41:54 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[Arquitetura]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/?p=349</guid>
		<description><![CDATA[http://www.microsoft.com/pt-br/showcase/details.aspx?uuid=2c750e08-5a27-42bb-8fc9-b3caf761f384 Filed under: Arquitetura, SharePoint<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=349&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="http://www.microsoft.com/pt-br/showcase/details.aspx?uuid=2c750e08-5a27-42bb-8fc9-b3caf761f384" href="http://www.microsoft.com/pt-br/showcase/details.aspx?uuid=2c750e08-5a27-42bb-8fc9-b3caf761f384">http://www.microsoft.com/pt-br/showcase/details.aspx?uuid=2c750e08-5a27-42bb-8fc9-b3caf761f384</a></p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/sharepoint/arquitetura/'>Arquitetura</a>, <a href='http://douglasanunciacao.wordpress.com/category/sharepoint/'>SharePoint</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/349/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/349/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/349/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=349&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2012/02/21/palestra-tech-ed-brasil-2011-backup-e-restore-com-sharepont-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>
	</item>
		<item>
		<title>Habilitar a Pesquisa de Pessoas no SharePoint (Search People)</title>
		<link>http://douglasanunciacao.wordpress.com/2011/08/28/habilitar-a-pesquisa-de-pessoas-no-sharepoint-search-people/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/08/28/habilitar-a-pesquisa-de-pessoas-no-sharepoint-search-people/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 00:57:47 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/08/28/habilitar-a-pesquisa-de-pessoas-no-sharepoint-search-people/</guid>
		<description><![CDATA[Um dos maiores problemas pós configuração do SharePoint é habilitar a pesquisa de pessoas, no link abaixo tem um artigo Microsoft de como fazer isso: http://technet.microsoft.com/en-us/library/ee808863.aspx Filed under: SharePoint<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=329&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Um dos maiores problemas pós configuração do SharePoint é habilitar a pesquisa de pessoas, no link abaixo tem um artigo Microsoft de como fazer isso:</p>
<p><a title="http://technet.microsoft.com/en-us/library/ee808863.aspx#BKMK_EnablePeopleSearch" href="http://technet.microsoft.com/en-us/library/ee808863.aspx">http://technet.microsoft.com/en-us/library/ee808863.aspx</a></p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/sharepoint/'>SharePoint</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/329/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=329&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/08/28/habilitar-a-pesquisa-de-pessoas-no-sharepoint-search-people/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>
	</item>
		<item>
		<title>Project Detail Pages (PDPs)</title>
		<link>http://douglasanunciacao.wordpress.com/2011/07/28/project-detail-pages-pdps/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/07/28/project-detail-pages-pdps/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 02:10:47 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[Project Server]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/07/28/project-detail-pages-pdps/</guid>
		<description><![CDATA[As PDPs podem ser utilizadas para coletar informações dos usuários durante a criação dos projetos. Uma PDP é uma página customizada do SharePoint (página de WebPart) que permite a inclusão de WebParts do Project Server 2010. As PDPs podem ser utilizadas para preenchimento dos campos customizados, inclusão de informações de relatórios ou integração com sistemas [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=328&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="justify">As PDPs podem ser utilizadas para coletar informações dos usuários durante a criação dos projetos. Uma PDP é uma página customizada do SharePoint (página de WebPart) que permite a inclusão de WebParts do Project Server 2010.</p>
<p align="justify">As PDPs podem ser utilizadas para preenchimento dos campos customizados, inclusão de informações de relatórios ou integração com sistemas proprietários, neste último caso a maioria das vezes requer desenvolvimento.</p>
<p align="justify">Existem três tipos de PDPs que podem ser criadas:</p>
<ul>
<li>
<div align="justify"><strong>New Project:</strong> usadas para a criação do projeto. Este tipo de PDP deve ser usada como primeira página para a criação do projeto.</div>
</li>
<li>
<div align="justify"><strong>Workflow Status:</strong> mostra o andamento de uma proposta de portfólio.</div>
</li>
<li>
<div align="justify"><strong>Project:</strong> usada para editar um determinado projeto.</div>
</li>
</ul>
<p align="justify">Abaixo mostro como é utilizada uma PDP do Project Server 2010.</p>
<p align="justify">1 – Dentro da Central de Projetos &gt; Novo &gt; Selecionei um dos projetos que tenho na lista.</p>
<p align="justify"><a href="http://douglasanunciacao.files.wordpress.com/2011/07/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb.png?w=200&#038;h=244" width="200" height="244"></a></p>
<p align="justify">2 – A primeira PDP que aparece no meu caso é do tipo New Project e contém estes campos abaixo.</p>
<p align="justify"><a href="http://douglasanunciacao.files.wordpress.com/2011/07/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb1.png?w=480&#038;h=203" width="480" height="203"></a></p>
<p align="justify">3 – A segunda PDP contém os campos customizados e é do tipo Project e contém os campos customizados para este tipo de projeto.</p>
<p align="justify"><a href="http://douglasanunciacao.files.wordpress.com/2011/07/image2.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb2.png?w=483&#038;h=212" width="483" height="212"></a></p>
<p>A próxima PDP que aparecerá será com relação ao cronograma, bom agora vamos aprender a criar estas PDPs e fazer a ligação entre elas.</p>
<p>Para criar uma Project Detail Page proceda: Configurações do Servidor &gt; Páginas de Detalhes do Projeto.</p>
<p><a href="http://douglasanunciacao.files.wordpress.com/2011/07/image3.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb3.png?w=495&#038;h=211" width="495" height="211"></a></p>
<p>Veja como as Web Parts foram acrescentadas, a única Web Part mais importante é do Project Custom Fields, que a primeira PDP deve conter no mínimo os campos: “Nome do Projeto”, “Descrição”, “Data de Início” e “Proprietário”.</p>
<p><strong>Importante: não se esqueça que a primeira deve ser do tipo “New Project”, você pode trocar nas propriedades da página na tela anterior.</strong></p>
<p>Depois que as PDPs foram criadas, você precisa determinar a informação do Departamento do Projeto: Configurações do Servidor &gt; Campos Personalizados da Empresa &gt; Tabela de Pesquisa Department. Nela crie pelo menos duas informações, uma com o nome da empresa e outra pode ficar como Indefinido. Exemplo:</p>
<p><a href="http://douglasanunciacao.files.wordpress.com/2011/07/image4.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb4.png?w=341&#038;h=282" width="341" height="282"></a></p>
<p>As informações que estão aparecendo como SQLNet Soluções Tecnológicas irão aparecer para o template desejado, as outras não aparecerão. A idéia é, você poder dividir os tipos de projeto pelos departamentos.</p>
<p>Após preencher as informações do campo “Departament”, selecione quais campos customizados pertencem a qual departamento.</p>
<p>O próximo passo e salvar o cronograma como um template, com a informação do “Department” correto, assim os campos customizados serão filtrados para este modelo de cronograma. Exemplo:</p>
<p><a href="http://douglasanunciacao.files.wordpress.com/2011/07/image5.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb5.png?w=423&#038;h=248" width="423" height="248"></a></p>
<p>Após toda a configuração acima, você deverá fazer a ligação dos itens para aparecer no menu Novo da central de projetos, para isso: Configurações do Servidor &gt; Tipos de Projetos da Empresa.</p>
<p>Faça as ligações dos tipos de páginas, do modelo de cronograma e o modelo de site que será utilizado para este modelo de projeto. Quando o menu novo for utilizado para criar um novo projeto, tudo será ligado, chamando o modelo certo, com os campos certos e com o site certo.</p>
<p><a href="http://douglasanunciacao.files.wordpress.com/2011/07/image6.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb6.png?w=435&#038;h=178" width="435" height="178"></a></p>
<p>Não se esqueça em as opções da “Nova Página do Projeto” devem abrir o projeto, ou seja, ter os campos Nome do Projeto, Descrição, Início e Proprietário. E claro serem do tipo “New Project”.</p>
<p>Espero ter auxliado a criar páginas de Detail Page.</p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/project-server/'>Project Server</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/328/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=328&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/07/28/project-detail-pages-pdps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/07/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Reporting Service FormatDateTime</title>
		<link>http://douglasanunciacao.wordpress.com/2011/06/08/reporting-service-formatdatetime/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/06/08/reporting-service-formatdatetime/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 20:03:48 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[Reporting Service]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/06/08/reporting-service-formatdatetime/</guid>
		<description><![CDATA[Na hora de alterar as informações de DateTime de um Relatório temos a função FormatDateTime, mas se você quiser colocar a data no estilo português do Brasil você poder utilizar a seguinte sintaxe: =Format(Fields!FinishDate.Value),&#34;dd/MM/yyyy&#34; Isso fará com que a data fique no formato brasileiro, mas essa função “Format” não é listada no reporting service. Filed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=313&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Na hora de alterar as informações de DateTime de um Relatório temos a função FormatDateTime, mas se você quiser colocar a data no estilo português do Brasil você poder utilizar a seguinte sintaxe:</p>
<p>=Format(Fields!FinishDate.Value),&quot;dd/MM/yyyy&quot;</p>
<p>Isso fará com que a data fique no formato brasileiro, mas essa função “Format” não é listada no reporting service.</p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/sql-server/reporting-service/'>Reporting Service</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=313&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/06/08/reporting-service-formatdatetime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>
	</item>
		<item>
		<title>Como utilizar Case no SQL Server</title>
		<link>http://douglasanunciacao.wordpress.com/2011/05/26/como-utilizar-case-no-sql-server/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/05/26/como-utilizar-case-no-sql-server/#comments</comments>
		<pubDate>Thu, 26 May 2011 16:51:18 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/05/26/como-utilizar-case-no-sql-server/</guid>
		<description><![CDATA[Um modo prático de modificar o resultado obtido com os dados do SQL Server é a utilização do “Case”, abaixo mostro uma consulta com “Case” que pode ser utilizada para retornar os valores de acordo com intervalos de informações. Select&#160;&#160;&#160; Title, Category, Exposure, &#160;&#160;&#160;&#160;&#160;&#160;&#160; Case &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; When Exposure &#62; 7 Then &#8216;Alto&#8217; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; When Exposure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=312&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Um modo prático de modificar o resultado obtido com os dados do SQL Server é a utilização do “Case”, abaixo mostro uma consulta com “Case” que pode ser utilizada para retornar os valores de acordo com intervalos de informações.</p>
<p>Select&#160;&#160;&#160; Title, Category, Exposure,   <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Case    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; When Exposure &gt; 7 Then &#8216;Alto&#8217;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; When Exposure &gt; 3 Then &#8216;Médio&#8217;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; When Exposure &gt; 0 Then &#8216;Baixo&#8217;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Else &#8216;Não há riscos&#8217;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; End As ExposureLabel    <br />From&#160;&#160;&#160; MSP_WssRisk_OlapView    </p>
<p>A consulta acima está aponta para uma tabela com 3 colunas, e quero apresentar uma quarta coluna com as informações de “Alto”, “Médio”, “Baixo” ou “Não há riscos”, para isto utilizei o Case.</p>
<p>Link MSDN com outros exemplos: <a title="http://msdn.microsoft.com/en-us/library/ms181765.aspx" href="http://msdn.microsoft.com/en-us/library/ms181765.aspx">http://msdn.microsoft.com/en-us/library/ms181765.aspx</a></p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/sql-server/'>SQL Server</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=312&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/05/26/como-utilizar-case-no-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>
	</item>
		<item>
		<title>Project Server: Error to Export Grid Excel (Erro ao Exportar Grid para Excel Project Server)</title>
		<link>http://douglasanunciacao.wordpress.com/2011/05/12/project-server-error-to-export-grid-excel-erro-ao-exportar-grid-para-excel-project-server/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/05/12/project-server-error-to-export-grid-excel-erro-ao-exportar-grid-para-excel-project-server/#comments</comments>
		<pubDate>Thu, 12 May 2011 14:02:04 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[Project Server]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/05/12/project-server-error-to-export-grid-excel-erro-ao-exportar-grid-para-excel-project-server/</guid>
		<description><![CDATA[Em algumas estações de trabalho você acaba recebendo a mensagem: &#34;The ActiveX control on which this feature depends could not be created. Because of this error, you can only copy the XML data to the Clipboard. Do you want to continue?&#34; Quando o problema ocorrer proceda: Adicione a url do Project Server como um site [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=311&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Em algumas estações de trabalho você acaba recebendo a mensagem: <em>&quot;The ActiveX control on which this feature depends could not be created. Because of this error, you can only copy the XML data to the Clipboard. Do you want to continue?&quot;</em></p>
<p>Quando o problema ocorrer proceda:</p>
<ol>
<li>Adicione a url do Project Server como um site confiável.</li>
<li>Edite as propriedades de segurança do Internet Exemplorer em sites confiáveis, e localiza a opção: “Initiate and script ActiveX control not marked as safe for scripting” de “Disable” para “Prompt”</li>
<li>Feche e abra o Internet Explorer, acesse o site e tente novamente.</li>
</ol>
<p>Artigo original: <a title="http://solvecomputerissues.ideacity.ro/2009/03/project-server-export-grid-to-excel.html" href="http://solvecomputerissues.ideacity.ro/2009/03/project-server-export-grid-to-excel.html">http://solvecomputerissues.ideacity.ro/2009/03/project-server-export-grid-to-excel.html</a></p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/project-server/'>Project Server</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/311/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/311/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/311/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=311&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/05/12/project-server-error-to-export-grid-excel-erro-ao-exportar-grid-para-excel-project-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Today in Calculated fields in SharePoint</title>
		<link>http://douglasanunciacao.wordpress.com/2011/05/11/using-today-in-calculated-fields-in-sharepoint/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/05/11/using-today-in-calculated-fields-in-sharepoint/#comments</comments>
		<pubDate>Wed, 11 May 2011 18:38:17 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[Project Server]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/05/11/using-today-in-calculated-fields-in-sharepoint/</guid>
		<description><![CDATA[Artigo original: http://blogs.msdn.com/b/cjohnson/archive/2006/03/16/552314.aspx&#160; Você esta com problema para calcular duas datas dentro do SharePoint, os passos abaixo resolvem o problema: Crie uma coluna na lista chamada “Today” Crie o seu campo calculado fazendo o calculo de datas mas usando a coluna “Today”, exemplo: datadif([Data1];[Today];”d”) Depois apague o campo Today criado anteriormente. &#160; Pronto. Filed under: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=310&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Artigo original: <a title="http://blogs.msdn.com/b/cjohnson/archive/2006/03/16/552314.aspx" href="http://blogs.msdn.com/b/cjohnson/archive/2006/03/16/552314.aspx">http://blogs.msdn.com/b/cjohnson/archive/2006/03/16/552314.aspx</a>&#160;</p>
<p>Você esta com problema para calcular duas datas dentro do SharePoint, os passos abaixo resolvem o problema:</p>
<ol>
<li>Crie uma coluna na lista chamada “Today”</li>
<li>Crie o seu campo calculado fazendo o calculo de datas mas usando a coluna “Today”, exemplo: datadif([Data1];[Today];”d”)</li>
<li>Depois apague o campo Today criado anteriormente.</li>
</ol>
<p>&#160;</p>
<p>Pronto.</p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/project-server/'>Project Server</a>, <a href='http://douglasanunciacao.wordpress.com/category/sharepoint/'>SharePoint</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=310&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/05/11/using-today-in-calculated-fields-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>
	</item>
		<item>
		<title>Calculando datas no InfoPath 2003</title>
		<link>http://douglasanunciacao.wordpress.com/2011/03/14/calculando-datas-no-infopath-2003/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/03/14/calculando-datas-no-infopath-2003/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 13:32:31 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/03/14/calculando-datas-no-infopath-2003/</guid>
		<description><![CDATA[Um dos grandes problemas do InfoPath é a incapacidade de calcular datas, para isto devemos progredir utilizando codificação, e neste caso vou utilizar VBScript para isto. O artigo original está no link: http://www.bizsupportonline.net/infopath2003/datediff-vbscript-infopath.htm&#160; Mas vou resumir o artigo acima. 1. Modifique o InfoPath para executar códigos em VBScript ao invés de JScript: Ferramentas – Opções [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=308&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Um dos grandes problemas do InfoPath é a incapacidade de calcular datas, para isto devemos progredir utilizando codificação, e neste caso vou utilizar VBScript para isto.</p>
<p>O artigo original está no link: <a title="http://www.bizsupportonline.net/infopath2003/datediff-vbscript-infopath.htm" href="http://www.bizsupportonline.net/infopath2003/datediff-vbscript-infopath.htm">http://www.bizsupportonline.net/infopath2003/datediff-vbscript-infopath.htm</a>&#160;</p>
<p>Mas vou resumir o artigo acima.</p>
<p>1. Modifique o InfoPath para executar códigos em VBScript ao invés de JScript: Ferramentas – Opções do Formulário – Avançado</p>
<p>2. Crie três campos no seu formulário, sendo:</p>
<blockquote><p>a) startDate e endDate como DateTime</p>
</blockquote>
<blockquote><p>b) dateDiff e dateInterval como Text</p>
</blockquote>
<p>3. Acrescente o código conforme informações abaixo:</p>
<p><strong>Dentro do formulário:</strong></p>
<p>Function ISODateStringToVBDate(ISODateString)   <br />&#160; Dim dtRetVal    <br />&#160; dtRetVal = Null </p>
<p>&#160; If Trim(ISODateString) &lt;&gt; &quot;&quot; Then   <br />&#160;&#160;&#160; dtRetVal = DateSerial(Mid(ISODateString, 1, 4), _    <br />&#160;&#160;&#160;&#160;&#160; Mid(ISODateString, 6, 2), Mid(ISODateString, 9, 2))    <br />&#160; End If </p>
<p>&#160; ISODateStringToVBDate = dtRetVal    <br />End Function </p>
<p>Sub CalculateDateDifference()   <br />&#160; Dim strStartDate    <br />&#160; Dim strEndDate    <br />&#160; Dim strDateInterval    <br />&#160; Dim dtStart    <br />&#160; Dim dtEnd    <br />&#160; Dim intDateDiff </p>
<p>&#160; &#8216;Retrieve the ISO date from the InfoPath date fields   <br />&#160; strStartDate = XDocument.DOM.selectSingleNode(&quot;/my:meusCampos/my:startDate&quot;).text    <br />&#160; strEndDate = XDocument.DOM.selectSingleNode(&quot;/my:meusCampos/my:endDate&quot;).text </p>
<p>&#160; &#8216;Convert ISO date into VBScript date   <br />&#160; dtStart = ISODateStringToVBDate(strStartDate)    <br />&#160; dtEnd = ISODateStringToVBDate(strEndDate) </p>
<p>&#160; If Not IsNull(dtStart) And Not IsNull(dtEnd) Then </p>
<p>&#160;&#160;&#160; &#8216;Retrieve the date interval to be used   <br />&#160;&#160;&#160; strDateInterval = XDocument.DOM.selectSingleNode(&quot;/my:meusCampos/my:dateInterval&quot;).text </p>
<p>&#160;&#160;&#160; Select Case LCase(strDateInterval)   <br />&#160;&#160;&#160;&#160;&#160; Case &quot;yyyy&quot;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;Difference between dates in years     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; intDateDiff = DateDiff(&quot;yyyy&quot;, dtStart, dtEnd)     <br />&#160;&#160;&#160;&#160;&#160; Case &quot;m&quot;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;Difference between dates in months     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; intDateDiff = DateDiff(&quot;m&quot;, dtStart, dtEnd)     <br />&#160;&#160;&#160;&#160;&#160; Case &quot;d&quot;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;Difference between dates in days     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; intDateDiff = DateDiff(&quot;d&quot;, dtStart, dtEnd)     <br />&#160;&#160;&#160;&#160;&#160; Case &quot;h&quot;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;Difference between dates in hours     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; intDateDiff = DateDiff(&quot;h&quot;, dtStart, dtEnd)     <br />&#160;&#160;&#160;&#160;&#160; Case &quot;n&quot;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;Difference between dates in minutes     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; intDateDiff = DateDiff(&quot;n&quot;, dtStart, dtEnd)     <br />&#160;&#160;&#160;&#160;&#160; Case &quot;s&quot;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;Difference between dates in seconds     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; intDateDiff = DateDiff(&quot;s&quot;, dtStart, dtEnd)     <br />&#160;&#160;&#160;&#160;&#160; Case Else     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;If interval is not recognized so use difference in days    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; intDateDiff = DateDiff(&quot;d&quot;, dtStart, dtEnd)     <br />&#160;&#160;&#160; End Select </p>
<p>&#160;&#160;&#160; &#8216;Set the value of the dateDiff field   <br />&#160;&#160;&#160; XDocument.DOM.selectSingleNode(&quot;/my:meusCampos/my:dateDiff&quot;).text = intDateDiff </p>
<p>&#160; End If </p>
<p>End Sub</p>
<p>4. Duplo clique no campo startDate vá em Validação de Dados e depois selecione OnAfterChange no evento e clique em Editar. Acrescente o código a seguir, tanto no startDate quanto do endDate.</p>
<p>Sub msoxd_my_startDate_OnAfterChange(eventObj) </p>
<p>If eventObj.IsUndoRedo Then   <br />Exit Sub    <br />End If </p>
<p><strong><font color="#ff0000">CalculateDateDifference </font></strong></p>
<p>End Sub </p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/infopath/'>InfoPath</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=308&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/03/14/calculando-datas-no-infopath-2003/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>
	</item>
		<item>
		<title>Comando Switch no Reporting Service (Trocando Figuras)</title>
		<link>http://douglasanunciacao.wordpress.com/2011/03/02/comando-switch-no-reporting-service-trocando-figuras/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/03/02/comando-switch-no-reporting-service-trocando-figuras/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 14:14:11 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[Reporting Service]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/03/02/comando-switch-no-reporting-service-trocando-figuras/</guid>
		<description><![CDATA[Um item muito interessante do Reporting Service é fazer com que uma imagen seja exibida de acordo com um terminado valor de um campo. Isto pode ser feito através do comando “switch”. 1 &#8211; Crie um relatório, acrescente um campo do tipo imagem, este campo pode ser até acrescentado dentro de um Grid. 2 – [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=307&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Um item muito interessante do Reporting Service é fazer com que uma imagen seja exibida de acordo com um terminado valor de um campo. Isto pode ser feito através do comando “switch”.</p>
<p>1 &#8211; Crie um relatório, acrescente um campo do tipo imagem, este campo pode ser até acrescentado dentro de um Grid.</p>
<p><a href="http://douglasanunciacao.files.wordpress.com/2011/03/image.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/03/image_thumb.png?w=244&#038;h=222" width="244" height="222" /></a> </p>
<p>2 – Acesse as propriedades do seu campo imagem, em “Gereral” na opção “Use this image” clique no botão “Fx” e acrescenta a fórmula abaixo:</p>
<p><strong>=Switch(Fields!Status.Value=1,&quot;green&quot;,Fields!Status.Value=2,&quot;yellow&quot;,Fields!Status.Value=3,&quot;red&quot;)</strong></p>
<p>Importante: no caso desta fórmula eu tenho um campo que se chama Status no banco de dados, e altero os valores das imagens de acordo com o valor que nele apresenta. Você precisa adicionar as imagens no reporting service para funcionar.</p>
<p><a href="http://douglasanunciacao.files.wordpress.com/2011/03/image1.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://douglasanunciacao.files.wordpress.com/2011/03/image_thumb1.png?w=205&#038;h=127" width="205" height="127" /></a></p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/sql-server/reporting-service/'>Reporting Service</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/307/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=307&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/03/02/comando-switch-no-reporting-service-trocando-figuras/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/03/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://douglasanunciacao.files.wordpress.com/2011/03/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Como enviar e-mail utilizando o InfoPath 2003</title>
		<link>http://douglasanunciacao.wordpress.com/2011/01/19/como-enviar-e-mail-utilizando-o-infopath-2003/</link>
		<comments>http://douglasanunciacao.wordpress.com/2011/01/19/como-enviar-e-mail-utilizando-o-infopath-2003/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 10:56:27 +0000</pubDate>
		<dc:creator>Douglas Anunciação</dc:creator>
				<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">https://douglasanunciacao.wordpress.com/2011/01/19/como-enviar-e-mail-utilizando-o-infopath-2003/</guid>
		<description><![CDATA[Geralmente as ferramentas mais antigas sempre tem as suas limitações, utilizando-se hoje do InfoPath 2010 podemos notar uma grande diferença entre as ferramentas, principalmente quando dizemos respeito a funcionalidades. Uma das coisas que sempre queremos e enviar o conteúdo do InfoPath no corpo do e-mail, e na versão 2003 não era possível fazer isso sem [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=302&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Geralmente as ferramentas mais antigas sempre tem as suas limitações, utilizando-se hoje do InfoPath 2010 podemos notar uma grande diferença entre as ferramentas, principalmente quando dizemos respeito a funcionalidades.</p>
<p>Uma das coisas que sempre queremos e enviar o conteúdo do InfoPath no corpo do e-mail, e na versão 2003 não era possível fazer isso sem colocar uma codificação, ou fazer com o usuário clica-se no botão correspondente ao e-mail na caixa de ferramentas e colocasse as informações.</p>
<p>O código abaixo auxilia na chamada desta caixa com os respectivos e-mails já preenchidos. Basta colocar seu conteúdo em um botão.</p>
<p>function OpenMailEnvelop(subject, to)</p>
<p>{</p>
<p>&#160;&#160;&#160; try</p>
<p>&#160;&#160;&#160; {</p>
<p>&#160; var oEnvelope = Application.ActiveWindow.MailEnvelope;</p>
<p>&#160; oEnvelope.Subject = subject;</p>
<p>&#160; oEnvelope.To = to;</p>
<p>&#160; oEnvelope.Visible = true;</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; return true;</p>
<p>&#160;&#160;&#160; }</p>
<p>&#160;&#160;&#160; catch(exception)</p>
<p>&#160;&#160;&#160; {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; return false;</p>
<p>&#160;&#160;&#160; }</p>
<p>}</p>
<p>function btnSomeButton::OnClick(eventObj)</p>
<p>{</p>
<p>&#160; OpenMailEnvelop(&quot;this is the subject&quot;, &quot;<a href="mailto:someone@somewhere.com">someone@somewhere.com</a>&quot;)</p>
<p>}</p>
<br />Filed under: <a href='http://douglasanunciacao.wordpress.com/category/infopath/'>InfoPath</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/douglasanunciacao.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/douglasanunciacao.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/douglasanunciacao.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/douglasanunciacao.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/douglasanunciacao.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/douglasanunciacao.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/douglasanunciacao.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/douglasanunciacao.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/douglasanunciacao.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/douglasanunciacao.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/douglasanunciacao.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/douglasanunciacao.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/douglasanunciacao.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/douglasanunciacao.wordpress.com/302/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=douglasanunciacao.wordpress.com&amp;blog=16390243&amp;post=302&amp;subd=douglasanunciacao&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://douglasanunciacao.wordpress.com/2011/01/19/como-enviar-e-mail-utilizando-o-infopath-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d6bba68d4a065499dec4c5b468e6e1c7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">douglasanunciacao</media:title>
		</media:content>
	</item>
	</channel>
</rss>
