NetTalk Central

Author Topic: Initial Value in DCT and PR31 problem  (Read 2716 times)

Alan Cochran

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Initial Value in DCT and PR31 problem
« 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

Rene Simons

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Re: Initial Value in DCT and PR31 problem
« Reply #1 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
Rene Simons
NT14.14

Alan Cochran

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: Initial Value in DCT and PR31 problem
« Reply #2 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: Initial Value in DCT and PR31 problem
« Reply #3 on: September 14, 2010, 11:51:00 AM »
fixed for PR32.

cheers
Bruce