﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Keep updated BO / Manter o BO atualizado</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 03 May 2026 15:25:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Keep updated BO / Manter o BO atualizado</title><link>http://forum.strataframe.net/FindPost28075.aspx</link><description>Estou com uma duvida, não sei se é possivel.&lt;/P&gt;&lt;P&gt;Tenho uma tabela de clientes (16.000 registros com 125 campos, demora uns 3 segundos para buscar). Os meus clientes tem costume de abrir esta tabela pela manha&amp;nbsp; por default com um FillAll onde eles trazes todos os registros e navegam nos registros o dia todo. Oque acontece que esses registros estao em memoria (BO)&amp;nbsp;e nao refletem mais oque existe no banco.&lt;/P&gt;&lt;P&gt;Existe algum metodo ou propriedade, ou alguma funcao em que eu possa atualizar apenas o registro corrente, sem tem der fazer novamente um FillAll e trazer todos os dados?&lt;/P&gt;&lt;P&gt;&lt;SPAN id=result_box class=long_text&gt;&lt;SPAN title="" Zc="Keep updated BO&amp;#13;&amp;#10;" Yc="Manter o BO atualizado" closure_uid_32uc8y="30"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Zc="I have a doubt, do not know if it's possible.&amp;#13;&amp;#10;&amp;#13;&amp;#10;" Yc="Estou com uma duvida, não sei se é possivel." closure_uid_32uc8y="31"&gt;I have a doubt, do not know if it's possible.&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Zc="I have a customer table (16,000 records with 125 fields, it takes about 3 seconds to get). " Yc="Tenho uma tabela de clientes (16.000 registros com 125 campos, demora uns 3 segundos para buscar)." closure_uid_32uc8y="32"&gt;I have a customer table (16,000 records with 125 fields, it takes about 3 seconds to get). &lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Zc="My clients have a way to open this table in the morning by default with a FillAll where they bring all records and navigating the records all day. " Yc="Os meus clientes tem costume de abrir esta tabela pela manha por default com um FillAll onde eles trazes todos os registros e navegam nos registros o dia todo." closure_uid_32uc8y="33"&gt;My clients have a way to open this table in the morning by default with a FillAll where they bring all records and navigating the records all day. &lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Zc="What happens to those records are in memory (BO) and do not reflect more WHAT exists in the database.&amp;#13;&amp;#10;&amp;#13;&amp;#10;" Yc="Oque acontece que esses registros estao em memoria (BO) e nao refletem mais oque existe no banco." closure_uid_32uc8y="34"&gt;What happens to those records are in memory (BO) and do not reflect more WHAT exists in the database.&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN title="" Zc="Is there any method or property, or some function where I can update only the current record, without having to give a FillAll again and bring all the facts?" Yc="Existe algum metodo ou propriedade, ou alguma funcao em que eu possa atualizar apenas o registro corrente, sem tem der fazer novamente um FillAll e trazer todos os dados?" closure_uid_32uc8y="35"&gt;Is there any method or property, or some function where I can update only the current record, without having to give a FillAll again and bring all the facts?&lt;/SPAN&gt;&lt;/SPAN&gt;</description><pubDate>Wed, 25 Aug 2010 20:29:33 GMT</pubDate><dc:creator>Malcon</dc:creator></item><item><title>RE: Keep updated BO / Manter o BO atualizado</title><link>http://forum.strataframe.net/FindPost28109.aspx</link><description>Hey Malcon.&lt;/P&gt;&lt;P&gt;Yep, got the picture. But unfortunately I can't think of any automagically way to accomplish that, besides coding some refresh methods at certain conditions. And remember something, it is not only the updated records, but the new ones and the deleted ones too.&lt;/P&gt;&lt;P&gt;What if instead of filling the BO with all records, you did with only the one chosen through the BrowseDialog, and then program your Navigation buttons to go fetch the next or from the database, once the user clicked them. There would be needed some effort to go to the current one, get its primary key, writing a scallar method that would chase for the next or previous one, and so on...&lt;/P&gt;&lt;P&gt;I also had my clients used to have all records available and navigate through them before, but I chose to try and change the paradigm to a new disconected reallity.</description><pubDate>Wed, 25 Aug 2010 20:29:33 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Keep updated BO / Manter o BO atualizado</title><link>http://forum.strataframe.net/FindPost28106.aspx</link><description>Ola Greg e Ivan. &lt;P&gt;Entendo o uso da pesquisa para sempre buscar os registros atualizados no banco. Vou tentar explicar melhor meu problema.&lt;/P&gt;&lt;P&gt;Temos uma solucao feita em VB6 utilizado DAO para acesso aos dados, trabalhamos de forma conectada ao banco, ou seja basta eu chamar um SeeChanges na minha conexao e tenho os dados atualizados.&lt;/P&gt;&lt;P&gt;Para acompanha a MS, estamos recriando nossos softwares em C# com SQL Server. Sei que o ADO.net trabalha de forma desconectada, ainda mais usando o StrataFrame.&lt;/P&gt;&lt;P&gt;Meus clientes (em torno de 550 empresas) ja estao acostumadas a "navegar" pelos registros, utilizando as teclas &amp;lt;&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;&amp;nbsp; move next, move first, etc...&lt;/P&gt;&lt;P&gt;O problema que estes registros sofrem muitas alteracoes durante o dia. &lt;/P&gt;&lt;P&gt;Exemplo: No cadastro de clientes, tenho a data e hora da ultima informacao foi trasmitida por ele. Caso eu navegue ate o registro e verifique esta data, ela ja nao reflete a realidade. &lt;/P&gt;&lt;P&gt;Poderia de tempos em tempo atualizar os meus registros da tela, mas nao eh muito "interessante" pois o tempo de carga deste BO gira em torno de 3 a 4 segundos. Se 80 estacoes fizerem essa atualizacao a cada minutos compromete a velocidade do sistema como um todo. &lt;/P&gt;&lt;P&gt;Pensei em varias solucoes: &lt;/P&gt;&lt;P&gt;-Atualizar o BO a cada minuto.&lt;/P&gt;&lt;P&gt;-Atualizar o BO a cada navegacao.&lt;/P&gt;&lt;P&gt;-Ter 2 BO, 1 para executar a navegacao e outro para exibir apenas o registro corrente do primeiro BO (essa solucao seria a mais ideal e mais complexa de sincronizar ambos)&lt;/P&gt;&lt;P&gt;Resumindo. Gostaria de saberi se existe uma forma de apenas dar um "refresh" no registro corrente? &lt;/P&gt;&lt;P&gt;Estou mandando em anexo uma tela do meu software para voce tenta entender um pouco mais do meu problema.&lt;/P&gt;&lt;P&gt;No retangulo tenho os botões de navegação.&lt;/P&gt;&lt;P&gt;A seta verde a quantidade de registros e a posicao em que estou&lt;BR&gt;A seta vermelha faço uma pesquisa atraves do BrowsingDialog, onde posiciono o usuario no registro selecionado&lt;BR&gt;A seta azul utilizo para fazer um filtro nas informacoes, utilizando tambem o browsingDialog, onde em vez de trazer tudo, trago parte do BO e deixo ele navegar apenas em parte dos dados.&lt;/P&gt;&lt;P&gt;&lt;SPAN id=result_box class=long_text&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Ola Greg e Ivan." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;Hello Greg and Ivan. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Entendo o uso da pesquisa para sempre buscar os registros atualizados no banco." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;I understand the use of research to always get the updated records in the database. &lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Vou tentar explicar melhor meu problema." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;I'll try to explain my problem. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Temos uma solucao feita em VB6 utilizado DAO para acesso aos dados, trabalhamos de forma conectada ao banco, ou seja basta eu chamar um SeeChanges na minha conexao e tenho os dados atualizados." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;We have made a solution used in VB6 DAO for data access, we work connected to the bank, that is just a SeeChanges I call on my connection and got the updated data. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Para acompanha a MS, estamos recriando nossos softwares em C# com SQL Server." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;To monitor the MS, we are recreating our software in C # with SQL Server. &lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Sei que o ADO.net trabalha de forma desconectada, ainda mais usando o StrataFrame." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;I know the ADO.net works in disconnected, even using StrataFrame. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title='Meus clientes (em torno de 550 empresas) ja estao acostumadas a "navegar" pelos registros, utilizando as teclas &lt;&lt; &lt; &gt; &gt;&gt; move next, move first, etc...' &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;My clients (around 550 firms) are already accustomed to "navigate" through the records using the buttons &amp;lt;&amp;lt;&amp;lt;&amp;gt;&amp;gt;&amp;gt; move next, move first, etc ... &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="O problema que estes registros sofrem muitas alteracoes durante o dia." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;The problem that these records has undergone many changes during the day. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Exemplo: No cadastro de clientes, tenho a data e hora da ultima informacao foi trasmitida por ele." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;Example: In the customer base, I have the time and date of last information was transmitted by him. &lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Caso eu navegue ate o registro e verifique esta data, ela ja nao reflete a realidade." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;If I navigate to the record and verify this date, it no longer reflects reality. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title='Poderia de tempos em tempo atualizar os meus registros da tela, mas nao eh muito "interessante" pois o tempo de carga deste BO gira em torno de 3 a 4 segundos.' &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;Could from time to time to update my records the screen, but it seems very "interesting" because the load time of this BO is around 3-4 seconds. &lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Se 80 estacoes fizerem essa atualizacao a cada minutos compromete a velocidade do sistema como um todo." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;If 80 stations that make updating every minute compromises the speed of the system as a whole. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="Pensei em varias solucoes:" &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;I thought about several solutions: &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="-Atualizar o BO a cada minuto." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;BO-Update every minute. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="-Atualizar o BO a cada navegacao." &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;BO-Update every navigation. &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title="-Ter 2 BO, 1 para executar a navegacao e outro para exibir apenas o registro corrente do primeiro BO (essa solucao seria a mais ideal e mais complexa de sincronizar ambos)" &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;-Have two BO, 1 to perform the navigation and other to display only the current record of the first BO (that would be the ideal solution and more complex to synchronize both) &lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title=Resumindo. &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;Summarizing. &lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title='Gostaria de saberi se existe uma forma de apenas dar um "refresh" no registro corrente?' &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;I wonder if there is a way of just giving a "refresh" the current record? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=long_text&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title='Gostaria de saberi se existe uma forma de apenas dar um "refresh" no registro corrente?' &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;&lt;SPAN id=result_box class=long_text&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Yc="Estou mandando em anexo uma tela do meu software para voce tenta entender um pouco mais do meu problema." Zc="I'm sending attached a screenshot of my software for you to try to understand a little more of my problem.&amp;#13;&amp;#10;&amp;#13;&amp;#10;" closure_uid_6bx58w="267"&gt;I'm sending attached a screenshot of my software for you to try to understand a little more of my problem.&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Yc="No retangulo tenho os botões de navegação." Zc="In the rectangle I have the navigation buttons.&amp;#13;&amp;#10;&amp;#13;&amp;#10;" closure_uid_6bx58w="268"&gt;In the rectangle I have the navigation buttons.&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Yc="A seta verde a quantidade de registros ea posicao em que estou" Zc="The green arrow on the amount of records and the position I'm in&amp;#13;&amp;#10;" closure_uid_6bx58w="269"&gt;The green arrow on the amount of records and the position I'm in&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Yc="A seta vermelha faço uma pesquisa atraves do BrowsingDialog, onde posiciono o usuario no registro selecionado" Zc="The red arrow I search through the BrowsingDialog, where do I position the user on the selected record&amp;#13;&amp;#10;" closure_uid_6bx58w="270"&gt;The red arrow I search through the BrowsingDialog, where do I position the user on the selected record&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND-COLOR: #fff" title="" Yc="A seta azul utilizo para fazer um filtro nas informacoes, utilizando tambem o browsingDialog, onde em vez de trazer tudo, trago parte do BO e deixo ele navegar apenas em parte dos dados." Zc="The blue arrow to use a filter of information, using also the browsingDialog, where instead of bringing it, bring part of the police report and let him go only part of the data." closure_uid_6bx58w="349"&gt;The blue arrow to use a filter of information, using also the browsingDialog, where instead of bringing it, bring part of the police report and let him go only part of the data&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=long_text&gt;&lt;SPAN style="BACKGROUND-COLOR: #ebeff9" &amp;#111;nmouseover="this.style.backgroundColor='#ebeff9'" title='Gostaria de saberi se existe uma forma de apenas dar um "refresh" no registro corrente?' &amp;#111;nmouseout="this.style.backgroundColor='#fff'"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;</description><pubDate>Wed, 25 Aug 2010 19:49:16 GMT</pubDate><dc:creator>Malcon</dc:creator></item><item><title>RE: Keep updated BO / Manter o BO atualizado</title><link>http://forum.strataframe.net/FindPost28091.aspx</link><description>Hey Malcon!&lt;/P&gt;&lt;P&gt;Glad to see you back here. :cool:</description><pubDate>Wed, 25 Aug 2010 06:46:29 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Keep updated BO / Manter o BO atualizado</title><link>http://forum.strataframe.net/FindPost28078.aspx</link><description>There are lots and lots of potential ways to handle this, but all of them essentially are based on simply providing the means for the user to select what record or records they want to work with, get just those records, then they close out or start over by picking new records. &lt;br&gt;
&lt;br&gt;
One way is to use the BrowseDialog and when you open the form, don't load [i]any[/i] records. The user will have to select the records to work with via the BrowseDialog. I think the best place to start is to see the help file and StrataFlix sample app for more details.  As you start working through this you can ask more detailed questions and we can help you out.</description><pubDate>Tue, 24 Aug 2010 15:52:20 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>