Refresh EpiDataView

In the object explorer most of the time you can find the views under transaction properties, and there usually defined methods such as notify, resetdataview etc.. i.e. EpiDataView.ResetDataView(newView)
Try calling one of those methods? I’ve had some luck refreshing just a particular data view in other forms..

Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-3119
FAX: (715)284-4084
[cid:1.234354861@...]<http://www.dsmfg.com/>
(Click the logo to view our site)<http://www.dsmfg.com/>

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Monday, June 16, 2014 11:52 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Re: Refresh EpiDataView


Thanks AJ, but that didn't work. I'm using the CustomerAdapter.GetShipToTerritory which I think updates the territory and salesrep outside of the form and epidataviews. I'll just have to use oTrans.Update() until something better comes along.

Steven G.

On Monday, June 16, 2014 11:24 AM, "aj.rembert@... [vantage]" <vantage@yahoogroups.com> wrote:


Are you refreshing because you want to show changes you've made to the row? You can use the .Notify function on the EpiDataView if so, I'd show the changed data like this:


Dim edvShipTo As EpiDataView = CType(oTrans.EpiDataViews("ShipTo"), EpiDataView)

edvShipTo.Notify(New EpiNotifyArgs(oTrans, edvShipTo.Row, edvShipTo.Column))




[Non-text portions of this message have been removed]

Vantage 8.03.408A Progress


I know you can refresh the entire dataset on a form using oTrans.Refresh(), but is there a way to refresh a single epiDataView?  Specifically, I want to refresh using code the current ShipTo screen on the Customer Maintenance form without refreshing the entire form.  The reason being that refreshing the entire form when you have a lot of shipto takes a while and all I need to do is refresh the current shipto.


Steven G.

Are you refreshing because you want to show changes you've made to the row? You can use the .Notify function on the EpiDataView if so, I'd show the changed data like this:


Dim edvShipTo As EpiDataView = CType(oTrans.EpiDataViews("ShipTo"), EpiDataView)

edvShipTo.Notify(New EpiNotifyArgs(oTrans, edvShipTo.Row, edvShipTo.Column))
Thanks AJ, but that didn't work.  I'm using the CustomerAdapter.GetShipToTerritory which I think updates the territory and salesrep outside of the form and epidataviews.  I'll just have to use oTrans.Update() until something better comes along.

Steven G.


On Monday, June 16, 2014 11:24 AM, "aj.rembert@... [vantage]" <vantage@yahoogroups.com> wrote:


 
<div id="ygrps-yiv-185454891yiv2518006850ygrp-text">
  
  
  <div>Are you refreshing because you want to show changes you&#39;ve made to the row? You can use the .Notify function on the EpiDataView if so, I&#39;d show the changed data like this:</div><div><br clear="none"></div><div><br clear="none"></div><div><span style="font-style:italic;">Dim edvShipTo As EpiDataView = CType(oTrans.EpiDataViews(&quot;ShipTo&quot;), EpiDataView)<br clear="none"></span></div><div><span style="font-style:italic;"><br clear="none"></span></div><div><span style="font-style:italic;">edvShipTo.Notify(New EpiNotifyArgs(oTrans, edvShipTo.Row, edvShipTo.Column))</span></div>

</div>
 


<div style="color:#fff;height:0;"></div></div>
#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850 -- #ygrps-yiv-185454891yiv2518006850ygrp-mkp { border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mkp hr {
border:1px solid #d8d8d8;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mkp #ygrps-yiv-185454891yiv2518006850hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mkp #ygrps-yiv-185454891yiv2518006850ads {
margin-bottom:10px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mkp .ygrps-yiv-185454891yiv2518006850ad {
padding:0 0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mkp .ygrps-yiv-185454891yiv2518006850ad p {
margin:0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mkp .ygrps-yiv-185454891yiv2518006850ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-sponsor #ygrps-yiv-185454891yiv2518006850ygrp-lc {
font-family:Arial;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-sponsor #ygrps-yiv-185454891yiv2518006850ygrp-lc #ygrps-yiv-185454891yiv2518006850hd {
margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-sponsor #ygrps-yiv-185454891yiv2518006850ygrp-lc .ygrps-yiv-185454891yiv2518006850ad {
margin-bottom:10px;padding:0 0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850activity span {
font-weight:700;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850activity span:first-child {
text-transform:uppercase;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850activity span a {
color:#5085b6;text-decoration:none;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850activity span span {
color:#ff7900;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850activity span .ygrps-yiv-185454891yiv2518006850underline {
text-decoration:underline;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850attach div a {
text-decoration:none;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850attach img {
border:none;padding-right:5px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850attach label {
display:block;margin-bottom:5px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850attach label a {
text-decoration:none;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 blockquote {
margin:0 0 0 4px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850bold {
font-family:Arial;font-size:13px;font-weight:700;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850bold a {
text-decoration:none;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 dd.ygrps-yiv-185454891yiv2518006850last p a {
font-family:Verdana;font-weight:700;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 dd.ygrps-yiv-185454891yiv2518006850last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 dd.ygrps-yiv-185454891yiv2518006850last p span.ygrps-yiv-185454891yiv2518006850yshortcuts {
margin-right:0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850attach-table div div a {
text-decoration:none;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850attach-table {
width:400px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850file-title a, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850file-title a:active, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850file-title a:hover, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850file-title a:visited {
text-decoration:none;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850photo-title a, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850photo-title a:active, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850photo-title a:hover, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div.ygrps-yiv-185454891yiv2518006850photo-title a:visited {
text-decoration:none;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 div#ygrps-yiv-185454891yiv2518006850ygrp-mlmsg #ygrps-yiv-185454891yiv2518006850ygrp-msg p a span.ygrps-yiv-185454891yiv2518006850yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850green {
color:#628c2a;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850MsoNormal {
margin:0 0 0 0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 o {
font-size:0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850photos div {
float:left;width:72px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850photos div div {
border:1px solid #666666;height:62px;overflow:hidden;width:62px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850reco-category {
font-size:77%;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850reco-desc {
font-size:77%;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 .ygrps-yiv-185454891yiv2518006850replbq {
margin:4px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mlmsg table {
font-size:inherit;font:100%;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mlmsg select, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 input, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mlmsg pre, #ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 code {
font:115% monospace;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mlmsg * {
line-height:1.22em;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-mlmsg #ygrps-yiv-185454891yiv2518006850logo {
padding-bottom:10px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-msg p a {
font-family:Verdana;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-msg p#ygrps-yiv-185454891yiv2518006850attach-count span {
color:#1E66AE;font-weight:700;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-reco #ygrps-yiv-185454891yiv2518006850reco-head {
color:#ff7900;font-weight:700;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-reco {
margin-bottom:20px;padding:0px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-sponsor #ygrps-yiv-185454891yiv2518006850ov li a {
font-size:130%;text-decoration:none;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-sponsor #ygrps-yiv-185454891yiv2518006850ov li {
font-size:77%;list-style-type:square;padding:6px 0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-sponsor #ygrps-yiv-185454891yiv2518006850ov ul {
margin:0;padding:0 0 0 8px;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-text {
font-family:Georgia;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-text p {
margin:0 0 1em 0;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-text tt {
font-size:120%;}

#ygrps-yiv-185454891 #ygrps-yiv-185454891yiv2518006850 #ygrps-yiv-185454891yiv2518006850ygrp-vital ul li:last-child {
border-right:none !important;}
#ygrps-yiv-185454891