Need a Customization tip

Waffqle. You helped me with this customization a few weeks ago. I wanted to
know, after the update, how can I have the code close the open active form
or refresh in a way that the changes are effective. Apparently it does work
but you don't see the change until you close out of the window or select
another entry and return to the one that was just saved.

Best Regards,
Â
Herby Dallard
Information Technology Engineer
Endicott Research Group
hdallard@...
607-754-9187 ext. 3078
www.ergpower.com



-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Waffqle
Sent: Tuesday, July 12, 2011 11:40 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Need a Customization tip

You want to use the Form Event Wizard and select the 'AfterAdapterMethod'
type and the appropriate adapter. The adapter name should be 'CRMCall' or
something similar, you'll recognize it. It should produce code that looks
like whats below. Your code will look a bit different as I stripped all the
comments and white space for the sake of readability.

If you look at the case statement at the bottom, you'll see where it catches
the 'Update' event. That is where your going to want to call the function
that disables your field and/or whatever else you'd like to do. You can also
add more cases to catch other adapter methods. For example, enabling the
text when a different record is loaded.

Module Script
Private WithEvents oTrans_adapter As EpiBaseAdapter
Sub InitializeCustomCode()
oTrans_adapter = csm.TransAdaptersHT("oTrans_adapter")
AddHandler oTrans_adapter.AfterAdapterMethod, AddressOf
oTrans_adapter_AfterAdapterMethod
End Sub

Sub DestroyCustomCode()
RemoveHandler oTrans_adapter.AfterAdapterMethod, AddressOf
oTrans_adapter_AfterAdapterMethod
oTrans_adapter = Nothing
End Sub

Private Sub oTrans_adapter_AfterAdapterMethod(ByVal sender As Object, ByVal
args As AfterAdapterMethodArgs)
Select Case args.MethodName
Case "Update"
Case Else
End Select
End Sub
End Module

On Tue, Jul 12, 2011 at 11:30 AM, Herby Dallard
<hdallard@...>wrote:

> **
>
>
> ItÂ’s the CRMCall table. The problem is we need the field to be editable
> until the current record transaction is saved regardless of lost focus or
> got focus. Once the record is saved we need it triggered. I do not have
any
> examples on using the Update Event. We are using Vantage 804B and are
> limited to events such as Close, Load, etc... If you have an update event
> definition /example please include it in your reply.
>
> Thanks.
>
>
> Best Regards,
>
> Herby Dallard
> Information Technology Engineer
> Endicott Research Group
> hdallard@...
> 607-754-9187 ext. 3078
> www.ergpower.com
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Waffqle
> Sent: Tuesday, July 12, 2011 8:46 AM
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] Need a Customization tip
>
>
> Rather than hooking into an event for the dataview, try hooking into
> GetByID
> and/or Update and setting it read only if there is already data in the
> field.
>
> On Tue, Jul 12, 2011 at 8:23 AM, Steven Gotschall
> <sgotschall@...>wrote:
>
> > **
> >
> >
> > Depends on the form you are talking about. If it is a sales order,
> > Invoice, Quote, etc. then you could set the field's extended attribute
> > Readonly when the OrderNum (or whatever) changes from 0 to a non zero
> value.
> >
> > From: Herby Dallard <hdallard@...>
> > To: vantage@yahoogroups.com
> > Sent: Monday, July 11, 2011 5:10 PM
> > Subject: [Vantage] Need a Customization tip
> >
> >
> >
> > Hello all. I would like to have a user editable text box field become
> read
> > only after the user saves the record. I am able to do this with
> > EpiViewNotification but it happens right after the user leaves the
> textbox
> > to input data in another field. Does anyone have a sample code of an
> event
> > I
> > would have to code this under to trigger the read only mode after record
> > has
> > been saved or updated?
> >
> > Best Regards,
> >
> > Herby Dallard
> >
> > Information Technology Engineer
> >
> > Endicott Research Group
> >
> > hdallard@...
> >
> > 607-754-9187 ext. 3078
> >
> > www.ergpower.com <http://www.ergpower.com/>
> >
> > [Non-text portions of this message have been removed]
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
>
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
Hello all. I would like to have a user editable text box field become read
only after the user saves the record. I am able to do this with
EpiViewNotification but it happens right after the user leaves the textbox
to input data in another field. Does anyone have a sample code of an event I
would have to code this under to trigger the read only mode after record has
been saved or updated?



Best Regards,



Herby Dallard

Information Technology Engineer

Endicott Research Group

hdallard@...

607-754-9187 ext. 3078

www.ergpower.com <http://www.ergpower.com/>







[Non-text portions of this message have been removed]
Depends on the form you are talking about. If it is a sales order, Invoice, Quote, etc. then you could set the field's extended attribute Readonly when the OrderNum (or whatever) changes from 0 to a non zero value.


From: Herby Dallard <hdallard@...>
To: vantage@yahoogroups.com
Sent: Monday, July 11, 2011 5:10 PM
Subject: [Vantage] Need a Customization tip


Â
Hello all. I would like to have a user editable text box field become read
only after the user saves the record. I am able to do this with
EpiViewNotification but it happens right after the user leaves the textbox
to input data in another field. Does anyone have a sample code of an event I
would have to code this under to trigger the read only mode after record has
been saved or updated?

Best Regards,

Herby Dallard

Information Technology Engineer

Endicott Research Group

hdallard@...

607-754-9187 ext. 3078

www.ergpower.com <http://www.ergpower.com/>

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




[Non-text portions of this message have been removed]
Rather than hooking into an event for the dataview, try hooking into GetByID
and/or Update and setting it read only if there is already data in the
field.

On Tue, Jul 12, 2011 at 8:23 AM, Steven Gotschall <sgotschall@...>wrote:

> **
>
>
> Depends on the form you are talking about. If it is a sales order,
> Invoice, Quote, etc. then you could set the field's extended attribute
> Readonly when the OrderNum (or whatever) changes from 0 to a non zero value.
>
> From: Herby Dallard <hdallard@...>
> To: vantage@yahoogroups.com
> Sent: Monday, July 11, 2011 5:10 PM
> Subject: [Vantage] Need a Customization tip
>
>
>
> Hello all. I would like to have a user editable text box field become read
> only after the user saves the record. I am able to do this with
> EpiViewNotification but it happens right after the user leaves the textbox
> to input data in another field. Does anyone have a sample code of an event
> I
> would have to code this under to trigger the read only mode after record
> has
> been saved or updated?
>
> Best Regards,
>
> Herby Dallard
>
> Information Technology Engineer
>
> Endicott Research Group
>
> hdallard@...
>
> 607-754-9187 ext. 3078
>
> www.ergpower.com <http://www.ergpower.com/>
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
ItÂ’s the CRMCall table. The problem is we need the field to be editable
until the current record transaction is saved regardless of lost focus or
got focus. Once the record is saved we need it triggered. I do not have any
examples on using the Update Event. We are using Vantage 804B and are
limited to events such as Close, Load, etc... If you have an update event
definition /example please include it in your reply.

Thanks.

Best Regards,
Â
Herby Dallard
Information Technology Engineer
Endicott Research Group
hdallard@...
607-754-9187 ext. 3078
www.ergpower.com


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Waffqle
Sent: Tuesday, July 12, 2011 8:46 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Need a Customization tip

Rather than hooking into an event for the dataview, try hooking into GetByID
and/or Update and setting it read only if there is already data in the
field.

On Tue, Jul 12, 2011 at 8:23 AM, Steven Gotschall
<sgotschall@...>wrote:

> **
>
>
> Depends on the form you are talking about. If it is a sales order,
> Invoice, Quote, etc. then you could set the field's extended attribute
> Readonly when the OrderNum (or whatever) changes from 0 to a non zero
value.
>
> From: Herby Dallard <hdallard@...>
> To: vantage@yahoogroups.com
> Sent: Monday, July 11, 2011 5:10 PM
> Subject: [Vantage] Need a Customization tip
>
>
>
> Hello all. I would like to have a user editable text box field become read
> only after the user saves the record. I am able to do this with
> EpiViewNotification but it happens right after the user leaves the textbox
> to input data in another field. Does anyone have a sample code of an event
> I
> would have to code this under to trigger the read only mode after record
> has
> been saved or updated?
>
> Best Regards,
>
> Herby Dallard
>
> Information Technology Engineer
>
> Endicott Research Group
>
> hdallard@...
>
> 607-754-9187 ext. 3078
>
> www.ergpower.com <http://www.ergpower.com/>
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
You want to use the Form Event Wizard and select the 'AfterAdapterMethod'
type and the appropriate adapter. The adapter name should be 'CRMCall' or
something similar, you'll recognize it. It should produce code that looks
like whats below. Your code will look a bit different as I stripped all the
comments and white space for the sake of readability.

If you look at the case statement at the bottom, you'll see where it catches
the 'Update' event. That is where your going to want to call the function
that disables your field and/or whatever else you'd like to do. You can also
add more cases to catch other adapter methods. For example, enabling the
text when a different record is loaded.

Module Script
Private WithEvents oTrans_adapter As EpiBaseAdapter
Sub InitializeCustomCode()
oTrans_adapter = csm.TransAdaptersHT("oTrans_adapter")
AddHandler oTrans_adapter.AfterAdapterMethod, AddressOf
oTrans_adapter_AfterAdapterMethod
End Sub

Sub DestroyCustomCode()
RemoveHandler oTrans_adapter.AfterAdapterMethod, AddressOf
oTrans_adapter_AfterAdapterMethod
oTrans_adapter = Nothing
End Sub

Private Sub oTrans_adapter_AfterAdapterMethod(ByVal sender As Object, ByVal
args As AfterAdapterMethodArgs)
Select Case args.MethodName
Case "Update"
Case Else
End Select
End Sub
End Module

On Tue, Jul 12, 2011 at 11:30 AM, Herby Dallard <hdallard@...>wrote:

> **
>
>
> It�s the CRMCall table. The problem is we need the field to be editable
> until the current record transaction is saved regardless of lost focus or
> got focus. Once the record is saved we need it triggered. I do not have any
> examples on using the Update Event. We are using Vantage 804B and are
> limited to events such as Close, Load, etc... If you have an update event
> definition /example please include it in your reply.
>
> Thanks.
>
>
> Best Regards,
>
> Herby Dallard
> Information Technology Engineer
> Endicott Research Group
> hdallard@...
> 607-754-9187 ext. 3078
> www.ergpower.com
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Waffqle
> Sent: Tuesday, July 12, 2011 8:46 AM
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] Need a Customization tip
>
>
> Rather than hooking into an event for the dataview, try hooking into
> GetByID
> and/or Update and setting it read only if there is already data in the
> field.
>
> On Tue, Jul 12, 2011 at 8:23 AM, Steven Gotschall
> <sgotschall@...>wrote:
>
> > **
> >
> >
> > Depends on the form you are talking about. If it is a sales order,
> > Invoice, Quote, etc. then you could set the field's extended attribute
> > Readonly when the OrderNum (or whatever) changes from 0 to a non zero
> value.
> >
> > From: Herby Dallard <hdallard@...>
> > To: vantage@yahoogroups.com
> > Sent: Monday, July 11, 2011 5:10 PM
> > Subject: [Vantage] Need a Customization tip
> >
> >
> >
> > Hello all. I would like to have a user editable text box field become
> read
> > only after the user saves the record. I am able to do this with
> > EpiViewNotification but it happens right after the user leaves the
> textbox
> > to input data in another field. Does anyone have a sample code of an
> event
> > I
> > would have to code this under to trigger the read only mode after record
> > has
> > been saved or updated?
> >
> > Best Regards,
> >
> > Herby Dallard
> >
> > Information Technology Engineer
> >
> > Endicott Research Group
> >
> > hdallard@...
> >
> > 607-754-9187 ext. 3078
> >
> > www.ergpower.com <http://www.ergpower.com/>
> >
> > [Non-text portions of this message have been removed]
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
>
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
Thanks...I will try it out.

Best Regards,
Â
Herby Dallard
Information Technology Engineer
Endicott Research Group
hdallard@...
607-754-9187 ext. 3078
www.ergpower.com



-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Waffqle
Sent: Tuesday, July 12, 2011 11:40 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Need a Customization tip

You want to use the Form Event Wizard and select the 'AfterAdapterMethod'
type and the appropriate adapter. The adapter name should be 'CRMCall' or
something similar, you'll recognize it. It should produce code that looks
like whats below. Your code will look a bit different as I stripped all the
comments and white space for the sake of readability.

If you look at the case statement at the bottom, you'll see where it catches
the 'Update' event. That is where your going to want to call the function
that disables your field and/or whatever else you'd like to do. You can also
add more cases to catch other adapter methods. For example, enabling the
text when a different record is loaded.

Module Script
Private WithEvents oTrans_adapter As EpiBaseAdapter
Sub InitializeCustomCode()
oTrans_adapter = csm.TransAdaptersHT("oTrans_adapter")
AddHandler oTrans_adapter.AfterAdapterMethod, AddressOf
oTrans_adapter_AfterAdapterMethod
End Sub

Sub DestroyCustomCode()
RemoveHandler oTrans_adapter.AfterAdapterMethod, AddressOf
oTrans_adapter_AfterAdapterMethod
oTrans_adapter = Nothing
End Sub

Private Sub oTrans_adapter_AfterAdapterMethod(ByVal sender As Object, ByVal
args As AfterAdapterMethodArgs)
Select Case args.MethodName
Case "Update"
Case Else
End Select
End Sub
End Module

On Tue, Jul 12, 2011 at 11:30 AM, Herby Dallard
<hdallard@...>wrote:

> **
>
>
> ItÂ’s the CRMCall table. The problem is we need the field to be editable
> until the current record transaction is saved regardless of lost focus or
> got focus. Once the record is saved we need it triggered. I do not have
any
> examples on using the Update Event. We are using Vantage 804B and are
> limited to events such as Close, Load, etc... If you have an update event
> definition /example please include it in your reply.
>
> Thanks.
>
>
> Best Regards,
>
> Herby Dallard
> Information Technology Engineer
> Endicott Research Group
> hdallard@...
> 607-754-9187 ext. 3078
> www.ergpower.com
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Waffqle
> Sent: Tuesday, July 12, 2011 8:46 AM
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] Need a Customization tip
>
>
> Rather than hooking into an event for the dataview, try hooking into
> GetByID
> and/or Update and setting it read only if there is already data in the
> field.
>
> On Tue, Jul 12, 2011 at 8:23 AM, Steven Gotschall
> <sgotschall@...>wrote:
>
> > **
> >
> >
> > Depends on the form you are talking about. If it is a sales order,
> > Invoice, Quote, etc. then you could set the field's extended attribute
> > Readonly when the OrderNum (or whatever) changes from 0 to a non zero
> value.
> >
> > From: Herby Dallard <hdallard@...>
> > To: vantage@yahoogroups.com
> > Sent: Monday, July 11, 2011 5:10 PM
> > Subject: [Vantage] Need a Customization tip
> >
> >
> >
> > Hello all. I would like to have a user editable text box field become
> read
> > only after the user saves the record. I am able to do this with
> > EpiViewNotification but it happens right after the user leaves the
> textbox
> > to input data in another field. Does anyone have a sample code of an
> event
> > I
> > would have to code this under to trigger the read only mode after record
> > has
> > been saved or updated?
> >
> > Best Regards,
> >
> > Herby Dallard
> >
> > Information Technology Engineer
> >
> > Endicott Research Group
> >
> > hdallard@...
> >
> > 607-754-9187 ext. 3078
> >
> > www.ergpower.com <http://www.ergpower.com/>
> >
> > [Non-text portions of this message have been removed]
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
>
> --
> *Waffqle Driggers*
>
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
Good luck!

Let us know if you have any issues with it.

On Tue, Jul 12, 2011 at 11:47 AM, Herby Dallard <hdallard@...>wrote:

> **
>
>
> Thanks...I will try it out.
>
>
> Best Regards,
>
> Herby Dallard
> Information Technology Engineer
> Endicott Research Group
> hdallard@...
> 607-754-9187 ext. 3078
> www.ergpower.com
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Waffqle
> Sent: Tuesday, July 12, 2011 11:40 AM
>
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] Need a Customization tip
>
> You want to use the Form Event Wizard and select the 'AfterAdapterMethod'
> type and the appropriate adapter. The adapter name should be 'CRMCall' or
> something similar, you'll recognize it. It should produce code that looks
> like whats below. Your code will look a bit different as I stripped all the
> comments and white space for the sake of readability.
>
> If you look at the case statement at the bottom, you'll see where it
> catches
> the 'Update' event. That is where your going to want to call the function
> that disables your field and/or whatever else you'd like to do. You can
> also
> add more cases to catch other adapter methods. For example, enabling the
> text when a different record is loaded.
>
> Module Script
> Private WithEvents oTrans_adapter As EpiBaseAdapter
> Sub InitializeCustomCode()
> oTrans_adapter = csm.TransAdaptersHT("oTrans_adapter")
> AddHandler oTrans_adapter.AfterAdapterMethod, AddressOf
> oTrans_adapter_AfterAdapterMethod
> End Sub
>
> Sub DestroyCustomCode()
> RemoveHandler oTrans_adapter.AfterAdapterMethod, AddressOf
> oTrans_adapter_AfterAdapterMethod
> oTrans_adapter = Nothing
> End Sub
>
> Private Sub oTrans_adapter_AfterAdapterMethod(ByVal sender As Object, ByVal
> args As AfterAdapterMethodArgs)
> Select Case args.MethodName
> Case "Update"
> Case Else
> End Select
> End Sub
> End Module
>
> On Tue, Jul 12, 2011 at 11:30 AM, Herby Dallard
> <hdallard@...>wrote:
>
> > **
> >
> >
> > It�s the CRMCall table. The problem is we need the field to be editable
> > until the current record transaction is saved regardless of lost focus or
> > got focus. Once the record is saved we need it triggered. I do not have
> any
> > examples on using the Update Event. We are using Vantage 804B and are
> > limited to events such as Close, Load, etc... If you have an update event
> > definition /example please include it in your reply.
> >
> > Thanks.
> >
> >
> > Best Regards,
> >
> > Herby Dallard
> > Information Technology Engineer
> > Endicott Research Group
> > hdallard@...
> > 607-754-9187 ext. 3078
> > www.ergpower.com
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> > Of
> > Waffqle
> > Sent: Tuesday, July 12, 2011 8:46 AM
> > To: vantage@yahoogroups.com
> > Subject: Re: [Vantage] Need a Customization tip
> >
> >
> > Rather than hooking into an event for the dataview, try hooking into
> > GetByID
> > and/or Update and setting it read only if there is already data in the
> > field.
> >
> > On Tue, Jul 12, 2011 at 8:23 AM, Steven Gotschall
> > <sgotschall@...>wrote:
> >
> > > **
> > >
> > >
> > > Depends on the form you are talking about. If it is a sales order,
> > > Invoice, Quote, etc. then you could set the field's extended attribute
> > > Readonly when the OrderNum (or whatever) changes from 0 to a non zero
> > value.
> > >
> > > From: Herby Dallard <hdallard@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Monday, July 11, 2011 5:10 PM
> > > Subject: [Vantage] Need a Customization tip
> > >
> > >
> > >
> > > Hello all. I would like to have a user editable text box field become
> > read
> > > only after the user saves the record. I am able to do this with
> > > EpiViewNotification but it happens right after the user leaves the
> > textbox
> > > to input data in another field. Does anyone have a sample code of an
> > event
> > > I
> > > would have to code this under to trigger the read only mode after
> record
> > > has
> > > been saved or updated?
> > >
> > > Best Regards,
> > >
> > > Herby Dallard
> > >
> > > Information Technology Engineer
> > >
> > > Endicott Research Group
> > >
> > > hdallard@...
> > >
> > > 607-754-9187 ext. 3078
> > >
> > > www.ergpower.com <http://www.ergpower.com/>
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> >
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
Worked out great...thanks for the tip.

Best Regards,
Â
Herby Dallard
Information Technology Engineer
Endicott Research Group
hdallard@...
607-754-9187 ext. 3078
www.ergpower.com



-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Waffqle
Sent: Tuesday, July 12, 2011 11:48 AM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Need a Customization tip

Good luck!

Let us know if you have any issues with it.

On Tue, Jul 12, 2011 at 11:47 AM, Herby Dallard
<hdallard@...>wrote:

> **
>
>
> Thanks...I will try it out.
>
>
> Best Regards,
>
> Herby Dallard
> Information Technology Engineer
> Endicott Research Group
> hdallard@...
> 607-754-9187 ext. 3078
> www.ergpower.com
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Waffqle
> Sent: Tuesday, July 12, 2011 11:40 AM
>
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] Need a Customization tip
>
> You want to use the Form Event Wizard and select the 'AfterAdapterMethod'
> type and the appropriate adapter. The adapter name should be 'CRMCall' or
> something similar, you'll recognize it. It should produce code that looks
> like whats below. Your code will look a bit different as I stripped all
the
> comments and white space for the sake of readability.
>
> If you look at the case statement at the bottom, you'll see where it
> catches
> the 'Update' event. That is where your going to want to call the function
> that disables your field and/or whatever else you'd like to do. You can
> also
> add more cases to catch other adapter methods. For example, enabling the
> text when a different record is loaded.
>
> Module Script
> Private WithEvents oTrans_adapter As EpiBaseAdapter
> Sub InitializeCustomCode()
> oTrans_adapter = csm.TransAdaptersHT("oTrans_adapter")
> AddHandler oTrans_adapter.AfterAdapterMethod, AddressOf
> oTrans_adapter_AfterAdapterMethod
> End Sub
>
> Sub DestroyCustomCode()
> RemoveHandler oTrans_adapter.AfterAdapterMethod, AddressOf
> oTrans_adapter_AfterAdapterMethod
> oTrans_adapter = Nothing
> End Sub
>
> Private Sub oTrans_adapter_AfterAdapterMethod(ByVal sender As Object,
ByVal
> args As AfterAdapterMethodArgs)
> Select Case args.MethodName
> Case "Update"
> Case Else
> End Select
> End Sub
> End Module
>
> On Tue, Jul 12, 2011 at 11:30 AM, Herby Dallard
> <hdallard@...>wrote:
>
> > **
> >
> >
> > ItÂ’s the CRMCall table. The problem is we need the field to be editable
> > until the current record transaction is saved regardless of lost focus
or
> > got focus. Once the record is saved we need it triggered. I do not have
> any
> > examples on using the Update Event. We are using Vantage 804B and are
> > limited to events such as Close, Load, etc... If you have an update
event
> > definition /example please include it in your reply.
> >
> > Thanks.
> >
> >
> > Best Regards,
> >
> > Herby Dallard
> > Information Technology Engineer
> > Endicott Research Group
> > hdallard@...
> > 607-754-9187 ext. 3078
> > www.ergpower.com
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> > Of
> > Waffqle
> > Sent: Tuesday, July 12, 2011 8:46 AM
> > To: vantage@yahoogroups.com
> > Subject: Re: [Vantage] Need a Customization tip
> >
> >
> > Rather than hooking into an event for the dataview, try hooking into
> > GetByID
> > and/or Update and setting it read only if there is already data in the
> > field.
> >
> > On Tue, Jul 12, 2011 at 8:23 AM, Steven Gotschall
> > <sgotschall@...>wrote:
> >
> > > **
> > >
> > >
> > > Depends on the form you are talking about. If it is a sales order,
> > > Invoice, Quote, etc. then you could set the field's extended attribute
> > > Readonly when the OrderNum (or whatever) changes from 0 to a non zero
> > value.
> > >
> > > From: Herby Dallard <hdallard@...>
> > > To: vantage@yahoogroups.com
> > > Sent: Monday, July 11, 2011 5:10 PM
> > > Subject: [Vantage] Need a Customization tip
> > >
> > >
> > >
> > > Hello all. I would like to have a user editable text box field become
> > read
> > > only after the user saves the record. I am able to do this with
> > > EpiViewNotification but it happens right after the user leaves the
> > textbox
> > > to input data in another field. Does anyone have a sample code of an
> > event
> > > I
> > > would have to code this under to trigger the read only mode after
> record
> > > has
> > > been saved or updated?
> > >
> > > Best Regards,
> > >
> > > Herby Dallard
> > >
> > > Information Technology Engineer
> > >
> > > Endicott Research Group
> > >
> > > hdallard@...
> > >
> > > 607-754-9187 ext. 3078
> > >
> > > www.ergpower.com <http://www.ergpower.com/>
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> >
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder
and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
Excellent!

On Tue, Jul 12, 2011 at 2:35 PM, Herby Dallard <hdallard@...>wrote:

> **
>
>
> Worked out great...thanks for the tip.
>
>
> Best Regards,
>
> Herby Dallard
> Information Technology Engineer
> Endicott Research Group
> hdallard@...
> 607-754-9187 ext. 3078
> www.ergpower.com
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of
> Waffqle
> Sent: Tuesday, July 12, 2011 11:48 AM
>
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] Need a Customization tip
>
> Good luck!
>
> Let us know if you have any issues with it.
>
> On Tue, Jul 12, 2011 at 11:47 AM, Herby Dallard
> <hdallard@...>wrote:
>
> > **
> >
> >
> > Thanks...I will try it out.
> >
> >
> > Best Regards,
> >
> > Herby Dallard
> > Information Technology Engineer
> > Endicott Research Group
> > hdallard@...
> > 607-754-9187 ext. 3078
> > www.ergpower.com
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> > Of
> > Waffqle
> > Sent: Tuesday, July 12, 2011 11:40 AM
> >
> > To: vantage@yahoogroups.com
> > Subject: Re: [Vantage] Need a Customization tip
> >
> > You want to use the Form Event Wizard and select the 'AfterAdapterMethod'
> > type and the appropriate adapter. The adapter name should be 'CRMCall' or
> > something similar, you'll recognize it. It should produce code that looks
> > like whats below. Your code will look a bit different as I stripped all
> the
> > comments and white space for the sake of readability.
> >
> > If you look at the case statement at the bottom, you'll see where it
> > catches
> > the 'Update' event. That is where your going to want to call the function
> > that disables your field and/or whatever else you'd like to do. You can
> > also
> > add more cases to catch other adapter methods. For example, enabling the
> > text when a different record is loaded.
> >
> > Module Script
> > Private WithEvents oTrans_adapter As EpiBaseAdapter
> > Sub InitializeCustomCode()
> > oTrans_adapter = csm.TransAdaptersHT("oTrans_adapter")
> > AddHandler oTrans_adapter.AfterAdapterMethod, AddressOf
> > oTrans_adapter_AfterAdapterMethod
> > End Sub
> >
> > Sub DestroyCustomCode()
> > RemoveHandler oTrans_adapter.AfterAdapterMethod, AddressOf
> > oTrans_adapter_AfterAdapterMethod
> > oTrans_adapter = Nothing
> > End Sub
> >
> > Private Sub oTrans_adapter_AfterAdapterMethod(ByVal sender As Object,
> ByVal
> > args As AfterAdapterMethodArgs)
> > Select Case args.MethodName
> > Case "Update"
> > Case Else
> > End Select
> > End Sub
> > End Module
> >
> > On Tue, Jul 12, 2011 at 11:30 AM, Herby Dallard
> > <hdallard@...>wrote:
> >
> > > **
> > >
> > >
> > > It�s the CRMCall table. The problem is we need the field to be editable
> > > until the current record transaction is saved regardless of lost focus
> or
> > > got focus. Once the record is saved we need it triggered. I do not have
> > any
> > > examples on using the Update Event. We are using Vantage 804B and are
> > > limited to events such as Close, Load, etc... If you have an update
> event
> > > definition /example please include it in your reply.
> > >
> > > Thanks.
> > >
> > >
> > > Best Regards,
> > >
> > > Herby Dallard
> > > Information Technology Engineer
> > > Endicott Research Group
> > > hdallard@...
> > > 607-754-9187 ext. 3078
> > > www.ergpower.com
> > >
> > > -----Original Message-----
> > > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> Behalf
> > > Of
> > > Waffqle
> > > Sent: Tuesday, July 12, 2011 8:46 AM
> > > To: vantage@yahoogroups.com
> > > Subject: Re: [Vantage] Need a Customization tip
> > >
> > >
> > > Rather than hooking into an event for the dataview, try hooking into
> > > GetByID
> > > and/or Update and setting it read only if there is already data in the
> > > field.
> > >
> > > On Tue, Jul 12, 2011 at 8:23 AM, Steven Gotschall
> > > <sgotschall@...>wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Depends on the form you are talking about. If it is a sales order,
> > > > Invoice, Quote, etc. then you could set the field's extended
> attribute
> > > > Readonly when the OrderNum (or whatever) changes from 0 to a non zero
> > > value.
> > > >
> > > > From: Herby Dallard <hdallard@...>
> > > > To: vantage@yahoogroups.com
> > > > Sent: Monday, July 11, 2011 5:10 PM
> > > > Subject: [Vantage] Need a Customization tip
> > > >
> > > >
> > > >
> > > > Hello all. I would like to have a user editable text box field become
> > > read
> > > > only after the user saves the record. I am able to do this with
> > > > EpiViewNotification but it happens right after the user leaves the
> > > textbox
> > > > to input data in another field. Does anyone have a sample code of an
> > > event
> > > > I
> > > > would have to code this under to trigger the read only mode after
> > record
> > > > has
> > > > been saved or updated?
> > > >
> > > > Best Regards,
> > > >
> > > > Herby Dallard
> > > >
> > > > Information Technology Engineer
> > > >
> > > > Endicott Research Group
> > > >
> > > > hdallard@...
> > > >
> > > > 607-754-9187 ext. 3078
> > > >
> > > > www.ergpower.com <http://www.ergpower.com/>
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > --
> > > *Waffqle Driggers*
> > >
> > > *High End Dev, System Design, Profit Drinking
> > > *
> > > *:: 904.962.2887*
> > > *:: waffqle@...*
> > > *:: NO FAXES*
> > >
> > > *
> > >
> > > *
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have
> > > already linked your email address to a yahoo id to enable access. )
> > > (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > > Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > >
> > >
> >
> > --
> > *Waffqle Driggers*
> > *High End Dev, System Design, Profit Drinking
> > *
> > *:: 904.962.2887*
> > *:: waffqle@...*
> > *:: NO FAXES*
> >
> > *
> >
> > *
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


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