NetTalk Central

Author Topic: SQL_Connect is generated without having any SQL-files in dct  (Read 3126 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Hi,

I am currently on C63PE and NTWS 637.
In order to test something I created a dct with only one TPS file.
I created a NTWS app using the app wizzard.
Outside the NTWS extensions the only extension I use is FM3-502.

Compiling fails because the following description:

(PBDY.$$$) Error: Procedure(SQL_Connect): Template(ConnectToSqlBackEndControls(fm3)): Global oner variable must be set

This message is a mistery to me because when I switch off FM3 the error goes away.

I suppose it has to do with FM3.

Does anyone have the same problem with FM3.

Hope to hear.

Kind regards,

Rene Simons
Rene Simons
NT14.14

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: SQL_Connect is generated without having any SQL-files in dct
« Reply #1 on: July 08, 2012, 08:49:57 PM »
Hi Renee
On your FM3 Global extension AutoUP tab do you have any of the SQL check boxes ticked?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: SQL_Connect is generated without having any SQL-files in dct
« Reply #2 on: July 08, 2012, 10:07:05 PM »
If you don't have any SQL files in your dict then just delete the SQL_Connect procedure from your app. I'll tweak the wizard for the next build.

cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: SQL_Connect is generated without having any SQL-files in dct
« Reply #3 on: July 09, 2012, 04:21:26 AM »
Hi Both,

Thanks for the reply.
I have already checked the sql settings in the FM3 tabs.
No boxed ticked.

@Bruce: Thanks in advance . I'll let you know.

Cheers,
Rene
Rene Simons
NT14.14