NetTalk Central

Author Topic: conflict between nettalk apps and supporting non nettalk clarion apps  (Read 3670 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
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
« Last Edit: July 18, 2016, 09:28:28 PM by Richard I »

Vinnie

  • Full Member
  • ***
  • Posts: 182
    • View Profile
    • Email
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

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
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

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
!
« Reply #3 on: July 19, 2016, 03:16:24 AM »
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
« Last Edit: July 19, 2016, 03:20:20 AM by Richard I »