NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alan Cochran on September 07, 2010, 09:58:07 AM

Title: Initial Value in DCT and PR31 problem
Post by: Alan Cochran on September 07, 2010, 09:58:07 AM
Hi Bruce,

With NT5 PR31, I am getting an error when compiling.  The problem is that I have a table in the dictionary that has a column with an Initial Value.  This columns is a String type (@s1) with an Initial Value of 'P'.  The line of code that is being rejected is WUI:GroupLevel = ''P' which is in the PreInsert Routine section'.  It should be WUI:GroupLevel = 'P'.  Once I replace 'P' with P in the dictionary, it compiles with success.  This worked in PR29 and earlier.  Did not try PR30 since there was a post about compile errors. 

Thanks...
Alan
Title: Re: Initial Value in DCT and PR31 problem
Post by: Rene Simons on September 08, 2010, 02:46:18 AM
Alan,

As far as I can remember, I have always had "problems" with the initial values in the dict.
If I'm right, you don't have to use quotes in thedict when the var is a string var. Unless you want them IN the value of course.

Rene
Title: Re: Initial Value in DCT and PR31 problem
Post by: Alan Cochran on September 09, 2010, 11:12:19 AM
Hi Rene,

Thanks for the reply.  I was just wondering why this worked prior to PR31 with the ' ' around the value.  Maybe Bruce can check this out.

Again, thanks...
Alan
Title: Re: Initial Value in DCT and PR31 problem
Post by: Bruce on September 14, 2010, 11:51:00 AM
fixed for PR32.

cheers
Bruce