NetTalk Central

Author Topic: Compile error after importing report  (Read 2881 times)

dcpeders

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Compile error after importing report
« on: June 17, 2013, 05:48:54 AM »
Clarion 8 Nettalk 7.04

I have imported a report to my web app from my win32 app and added pdf extension from Tracker and the nettalk report extension. I have added the prototype/procedure (<NetWebServer p_web>).

When it compiles, I get the error: GEN: Unknown Variable '%GloNoGenerate' - I tried adding "GloNoGenerate" to the global data with out success.

Any idea as to what is causing this error and how to solve it?

Thanks for any advise.

Dave Pederson

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile error after importing report
« Reply #1 on: June 17, 2013, 06:09:04 AM »
Hi Dave,

%GloNoGenerate is a template variable - the % at the front gives it away.

What this likely means is that your imported procedure (the report) has an extension - but the "global extension" to match that extension has not been added to the app. So, for example, say it has a Office Inside extension, but your app does not have the global "Activate Office" extension.

solution is in two part
a) identify the extension(s) in the report
b) then either add the global extension it needs, or delete the extension from the report - whatever is appropriate.

cheers
Bruce

dcpeders

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Compile error after importing report
« Reply #2 on: June 17, 2013, 06:23:42 AM »
Thanks Bruce, that helps.

Dave