I have to move the uploaded file in my ERP special folder and use it as attachment of recorded records...
↧
Re: New awcntgetfile function
↧
From: | Michele |
To: | FoxInCloud support |
I have to move the uploaded file in my ERP special folder and use it as attachment of recorded records...
What is unclear to you in this?
{en} Adaptation: {en} -------------------- {en} Important {en} -------------------- {en} A/ Replace any control that issues GetFile() with an instance of this class {en} The recommend process is: {en} 1- add an instance of this class to your form or your class library {en} 2- copy and paste code from the existing class or object into the new instance {en} 3- delete the existing (former) class or object {en} 4- rename the new instance like the former class or object {en} 5- if your former class is in a .vcx has a different base class, change base class in *.?cx using it: {en} USE *.?cx {en} REPLACE BaseClass WITH ... FOR CLASS = ... AND CLASSLIB = ... {en} C/ Review and implement this.wcGetFile* properties and methods you see fit {en} B/ Callback: {en} Any code processing the uploaded file needs be moved to a call-back method {en} the standard call-back method is: this.wFormCallBack() {en} To use another method of this object, specify its name in this.wcGetFileCallBack, {en} and/or override this.wcGetFileCallBackGet() {en} Review code sample in aw.vcx!awImgGetFile::wFormCallBack() {en} ====================================================