NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on May 28, 2021, 05:26:55 AM

Title: Memory Form Problems
Post by: osquiabro on May 28, 2021, 05:26:55 AM
Hi Bruce in Memory form in version 11.51 this line of code is generate by NT
case p_stage
  of net:web:Generate

in version 12.18 is generate this:

case p_stage
  of net:web:Generate
    do OpenFiles

my problem is the file open routine, I have a process that needs the files to open when I press the button, because at that moment I have the file, it is a file upload process
Title: Re: Memory Form Problems
Post by: Bruce on May 31, 2021, 12:12:08 AM
Hi Osa,

I'm not sure I understand the problem.
What effect are you seeing?

Cheers
Bruce
Title: Re: Memory Form Problems
Post by: osquiabro on May 31, 2021, 04:12:05 AM
simple, I have an upload process, but the file name is captured after selecting a file to upload and this routine opens a file that does not exist at the moment, in version 11.51 that part of the code does not exist
Title: Re: Memory Form Problems
Post by: Bruce on May 31, 2021, 06:21:30 AM
then don't add the File to the "Other Files" list for the procedure. If you don't want it in Openfiles, then don't add it to the Data pad.

Cheers
Bruce
Title: Re: Memory Form Problems
Post by: osquiabro on June 01, 2021, 03:35:17 AM
Bruce I need the file in other files because I have a code after the file is selected I can't compile without the file in other files, they are applications that I have in production and I need to touch them as little as possible ..
Title: Re: Memory Form Problems
Post by: Bruce on June 02, 2021, 10:19:50 PM
hi Osa,

sure you can remove the file from OtherFiles.
Just go to the global, Actions, Individual File Control tab, and tick on Generate for that file.

Cheers
Bruce