NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Richard I on July 18, 2016, 09:23:40 PM
-
Hi,
I have a nettalk app running that contains some PDF reports.
All is working as I want.( well, nearly)
However, in its hosting folder I have two Clarion supporting exes that are not nettalk enabled. All exes share the same tps data files contained in this folder.
One of these exes, if running, causes the reports to fail...
I get the Alert "No records"
but, as soon as its closed, the PDF reports display.
I believe it may be something to do with having the data tables open by the exe ?
but this doesnt necessarily hold water, as both exes open tables when they are run....
Both these apps have timer activity running
I would appreciate comments on how to resolve this as I need the supporting app to do the administrative tasks
Thanks
Richard
-
Hi Richard.
Having an EXE running on the server is not a problem.
I have a Compiler program to run printing and a Nettalk Web App to do the display work.
Files need to be open as Share.
In the Web app remember to use Do Openfiles and Do CloseFiles routines when running embed code.
When you say the PDF displays after the close is the EXE. Preview should be turned off on the server exe as no one will be looking at that this is for generation only. Display is via the Web App.
Hope this helps
Cheers
Vinnie
-
Thanks Vinnie,
Yes, its interesting, as both exes have file access in common and routines on the timer embed.
What is perplexing is that the more "complex exe" allows the pdf reports to run and the simpler does not, unless- could it be that the latter has opened the data files prior to being called and used in the report?
Im running the PDF reports from the netTalk app
Cheers
Richard
c10
nettalk 8
-
Hi Vinnie,
Resolved !
In the server side code I had OPEN(LOG)
With that deleted and replaced with access:log.usefile()
It all came right.
Cheers
Richard