Glad it worked out... Don't question why... Just move on. :)
Rob Brown
Michael McWilliams <mmcwilliams22@...> wrote:
I now have it working using the EpiViewNotification. I have no
explanation but for some reason I could not even get an OnClick to
work in this customization. No compile errors though. I have about
200 lines of code so maybe something else was causing a problem.
I started from scratch, pasted my code in from the other one. Then
added my controls & it works, go figure..
--- In vantage@yahoogroups.com, "Stephen Edginton" <stephene@...>
wrote:
Never miss a thing. Make Yahoo your homepage.
[Non-text portions of this message have been removed]
Rob Brown
Michael McWilliams <mmcwilliams22@...> wrote:
I now have it working using the EpiViewNotification. I have no
explanation but for some reason I could not even get an OnClick to
work in this customization. No compile errors though. I have about
200 lines of code so maybe something else was causing a problem.
I started from scratch, pasted my code in from the other one. Then
added my controls & it works, go figure..
--- In vantage@yahoogroups.com, "Stephen Edginton" <stephene@...>
wrote:
>best
> Hi Rob,
>
> No not on the payroll
>
> I did not say that the EpiViewNotification was the
> place to put this kind of code, as some things do not fire achange like
> you mentioned and others fire several times,can
>
> often you will have an OnchangeOf event that you
> catch Via BPM or an after / before adapter call, or catch thecolumn
> changing event.at the
>
> It all depends on the situation, like many of these
> things.
>
> If Michael could provide an example we could look
> different approaches one could take...Behalf
>
>
>
> Regards,
>
> Stephen Edginton (Beng)
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> Of Robert BrownEpicor.
> Sent: Thursday, December 13, 2007 8:44 PM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] EpiViewNotification
>
>
>
> Thanks Stephen.
>
> Fascinating (really). You sound like you're on the payroll at
>make
> Optomistic record locking is one of those 'sounds good' ideas (to
> programming easier and the resulting UI responsiveness better)that has
> turned out to be less than stellar in practice.interaction
>
> Hopefully we will see the last of it within the next few years.
>
> None of your excellent explanations of VB.NET client/server
> gets at the problem:cases
>
> EpiViewNotifications more often than not DO NOT WORK - even in
> where I can see (via odbc) that the table data has indeed beenupdated.
>hear
> If you have some definitive insight as to why, I'd truly love to
> it.easier
>
> If/until EpiViewNotifications prove to work reliably, I found it
> not to waste time attempting to use them.so it
>
> Other event triggers DO work 'as advertised' on a consistent basis
> is a more efficient use of programming time simply to use them ifin a
> they'll get the job done. That was my advice to Micheal.
>
> Thanks for the info.
>
> Rob Brown
>
> Stephen Edginton <stephene@...
> <mailto:stephene%40dotnetit.co.uk> > wrote:
> Rob,
>
> Just to clarify some points.
>
> The UI layer is all based on dataviews. This dataview is
> the view of a particular dataTable. This dataTable is one of many
> data set.a
>
> These objects are all in memory.
>
> The process goes as follows - Client connects to
> appservers - requests data, appservers querires database - returns
> dataset - a copy of the data.information make
>
> The client then receives this dataset and the form
> controls that are bound to a specific EpiDataView (encapsulated
> dataview) are notified via the EpiViewNotification process.
>
> At this point there is no record locking going on.
> Anther user could open the same form - pull up the same
> a save, then if you go to save again you get the40yahoogroups.com> ] On
>
> "this record has been modified by another user"
>
> Hence it uses optimistic locking.
>
> If you need to change the value of a bound control - you
> do not change the control itself
>
> i.e. a checkbox on the screen, you would not change the
> checked property
>
> instead you would change the value in the bound
> dataview.
>
> Hope this clears up some questions.
>
> Regards,
>
> Stephen
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%
> Behalfevent
> Of Robert Brown
> Sent: Thursday, December 13, 2007 2:31 PM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: Re: [Vantage] EpiViewNotification
>
> I've found the same (making EpiViewNotification a rather useless
> trigger).control
>
> In some customization applications, you can replace the standard
> with a custom control and use the custom control to trigger whatever it
> is you are trying to do.effectively
>
> I suspect controls tied to a view do so through a (poorly designed)
> control-db layer that sustains a record lock condition that
> short circuits the EpiViewNotification.locking
>
> My understanding is that both Progress and SQL Server support field
> (versus entire record) locking during I/O actions. I hope Epicor
> (perhaps in v9) does a rewrite of the layer so it results in less
> contention for records during I/O actions. Going to field level
> (for appropriate actions) would improve perceived user appperformance
> considerably.DataView
>
> Rob Brown
>
> Michael McWilliams <mmcwilliams22@...
> <mailto:mmcwilliams22%40yahoo.com>
> <mailto:mmcwilliams22%40yahoo.com> > wrote:
> Has anyone else used this and had issues? If I have a control that
> is tied to a DataView I cannot modify it using code after the
> EpiViewNotification. But if a have a control not tied to the
> it will work. I though that this Event happened after the Tablewas
> pulled in & the DataSet was ready to be modified.---------------------------------
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Never miss a thing. Make Yahoo your homepage.
[Non-text portions of this message have been removed]