NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on July 13, 2017, 11:51:04 AM

Title: NetWebServiceMethod for table "Log" and DateTime column breaks template code
Post by: Thys on July 13, 2017, 11:51:04 AM
Hi,

Attached is an app that runs on SQL. It has a table Log for which I've added a maintenance web method dbLog. Without this procedure, the app compiles without a problem. But it seems like the date/time group in the record causes the template to generate wrong code in the new procedure. Any suggestions please?

Thanks
Thys
Title: Re: NetWebServiceMethod for table "Log" and DateTime column breaks template code
Post by: Bruce on July 13, 2017, 11:05:45 PM

Your problem is that you've marked the GROUP as Private (on the Settings, Parameters, Logfile,   Fields tab), but not the contents of the Group. This causes problems for the template.
That said, even if you do set them there are problems with the END.

I'm looking into it...

cheers
Bruce

Title: Re: NetWebServiceMethod for table "Log" and DateTime column breaks template code
Post by: Bruce on July 14, 2017, 03:03:38 AM
It's fixed, but the fix is complex.
So unfortunately it'll only be in NT10.

In the meantime don't make a GROUP private...

cheers
Bruce
Title: Re: NetWebServiceMethod for table "Log" and DateTime column breaks template code
Post by: Thys on July 14, 2017, 03:10:01 AM
Thanks Bruce.