Did a general search for FoxAudit because I was interested, but all I could find was a foreign company named FoxAudit and a lot of Foxpro tips where people recommended FoxAudit.
While doing so I ran across a Microsoft article describing how to build a VFP6 COM application and register and use it with MTS. Obviously, if this is the first I've run across this, I've never done it. Have any of the pros done this? Why didn't this become a bigger deal for Foxpro programmers or did I just miss this like Rip Van Winkle?
Just curious
Paul H. Tarver Email: paul@tpcqpc.com
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Eric Selje Sent: Tuesday, October 17, 2017 8:29 AM To: profoxtech@leafe.com Subject: Re: Trigger design
I started down this road once, but ended up purchasing FoxAudit because it did everything I needed in a much more robust fashion. I'm not sure if it's still marketed though.
Perhaps you could make oAudit a property of the _VFP object so it will always be available. (_vfp.addobject("oAudit", "class"))
On Tue, Oct 17, 2017 at 4:58 AM, Dave Crozier DaveC@flexipol.co.uk wrote:
Profox People, I decided to add an audit trail feature into a small system here at Flexipol via the DBC Triggers roughly based on the example in MegaFox chapter 7.
In order to make things simple and more in line with OOP philosophy I decided to construct an Audit Class with all the logic embedded into a packaged class for adding into the audit tables. So far so good… However I now find that I cannot action the “add audit record" method in the class i.e.
oAudit.Log(”Add”, “”Customer”)The prior created and visible object oAudit becomes invisible in the Trigger code despite being defined as a public variable.
In fact the situation is somewhat worse in that when executing Trigger code it seems you cannot create objects or access any existing object’s method code which I find strange indeed and I am interested why.
My only alternative is to go back to make all the auditing code .prg based which is fine but not an ideal solution.
Unless anyone has any other ideas…..or a reason why you can’t use existing objects or create objects in trigger code.
Ho Hum.
Dave
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd. Unit 14 Bentwood Road Carrs Industrial Estate Haslingden Rossendale Lancashire BB4 5HH
Tel:01706-222792 Fax: 01706-224683 www.Flexipol.co.uk
Terms & Conditions:
Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time
[excessive quoting removed by server]