NetTalk E-Mail > E-Mail - Ask For Help

Webform - no call to Routine:OpenFiles

(1/1)

Niels Larsen:
Hi

I have this webform and want to do some stuff after files are opened. So I have placed my code at "Beginning of Procedure" --> "After opening Files"
But the Routine (OpenFiles) is never called??
Have i missed something??

Regards Niels

kevin plummer:
Everything runs on multiple threads so you need to do your own file open/close.

You are probably better using one of the pre- (eg Pre-Insert) embeds so your code does not get called multiple times on different threads.

HTH's

Kev

Bruce:
Hi Niels,

The answer to your very simple question is quite complicated, because the very nature of your question is wrong.
We'll cover a lot of this next week in Aarhus, so I think you'll probably know the answer after that in a lot more detail.

In the meantime tell us more about what exactly you're trying to do and we can point you in the right direction. the files are opened and closed many times during the life of the form, on different threads, so you need to be a lot more specific about the "stuff" you are doing, and exactly when you want it done.

cheers
Bruce

Niels Larsen:
@Kev
Thanks - that's the way.

@Bruce
I can hardly wait to webshop in Aarhus. I will even stay the night in the classroom to get all the good stuff.

Bruce:
Hi Niels,

I don't know what you European types are like - but in Australia we did the good stuff during the day  :D

Cheers
Bruce

Navigation

[0] Message Index

Go to full version