Sorry I was slow to response. Here is an example I use inside the _AfterAdapterMethod:
WriteToLogFile("oTrans_adapter_AfterAdapterMethod::" & args.MethodName & " :: LastView = " & oTrans.LastView.ViewName)
Dan Godfrey
(805) 389-1935 x 251
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Dan Sirow
Sent: Monday, April 08, 2013 7:08 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Part Customization Help
Can you show us a piece of your code how you did this, I have never used LastView - Thanks
WriteToLogFile("oTrans_adapter_AfterAdapterMethod::" & args.MethodName & " :: LastView = " & oTrans.LastView.ViewName)
Dan Godfrey
(805) 389-1935 x 251
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Dan Sirow
Sent: Monday, April 08, 2013 7:08 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Part Customization Help
Can you show us a piece of your code how you did this, I have never used LastView - Thanks
--- In vantage@yahoogroups.com, "dgodfrey_amc" <dgodfrey@...> wrote:
>
> I also have code on the delete function so I use LastView parameter from the oTrans. I look for "PartRev" or "PartPlant" or "Part" to identify which table has the delete action on it.
>
------------------------------------
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
CONFIDENTIALITY NOTICE: The data attached/enclosed may contain information (including technology and technical data) which is subject to the U.S. International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR). This information may not be exported, released, or disclosed to foreign persons either inside or outside the United States without first obtaining the proper U.S. export license or written authorization. In addition, the information and articles described herein are either patented or proprietary, and the copying or reproduction thereof is prohibited without ADVANCED Motion Controls prior written consent. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Thank you for your compliance.