Jul 15, 2014 at 7:57 AM
Edited Jul 15, 2014 at 7:59 AM
I'm sorry but i don't understand how i can use this... I put "close data" before of "RETURN lcHTMLout" but this is located in "function debug" and i don't use this function. I've tried equally but it doesn't work...
I explain you my situation:
- i've a delete.avfp page that contains the code that i wrote previously.
- my main.prg is the original with some added function that i call in others webpages.
If i run delete.avfp with parameters, the table is deleted but if i run delete.avfp with parameters after i do a select statements (always on this table), the table isn't deleted.
I don't think that site is very very busy because i do only 1 request at times (select, update or delete). I don't want to restart IIS service/site because this project is for multi-users and i don't want that another user have a error message due to IIS restart.
N.B. I tried to use "close data" also before "deletefile" command without any results...
N.B. 2: In the code i wrote previously i wrote directly the file name instead of parameters and variables.