NetTalk Central

Author Topic: Updated To 4.31 - Unique Key Unchanging Key Gone  (Read 4166 times)

zdpl0a

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Email
Updated To 4.31 - Unique Key Unchanging Key Gone
« on: June 19, 2008, 10:34:03 AM »
On a browse, after upgrading to 4.31 a Unique,unchanging key field became blank.

I added the key back into the template field

When I compile I get errors on the two ::Other Routine lines below

Syntax Error Routine /GOTO  label duplicated

Does anyone have any ideas?  I'll go read the release notes again....

Thanks,

Dave




! ----------------------------------------------------------------------------------------
Validate::Other  Routine
  data
loc:invalid                String(100)
loc:was                    Any
  code
  XTP:SysID = p_web.GetValue('XTP:SysID')
  If p_web._GetFile(XPTitleOrder,XTP:KeySysID) then exit.
! ----------------------------------------------------------------------------------------
value::Other   Routine
  data
loc:extra    string(256)
loc:disabled string(20)
  code

zdpl0a

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Email
Re: Updated To 4.31 - Unique Key Unchanging Key Gone
« Reply #1 on: June 19, 2008, 11:34:52 AM »
Fixed - multiple buttons on the browse row - just like the doc says... I changed one of the equates.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Updated To 4.31 - Unique Key Unchanging Key Gone
« Reply #2 on: June 20, 2008, 04:04:58 AM »
Hi Dave,

>> On a browse, after upgrading to 4.31 a Unique,unchanging key field became blank.

I'm not 100% sure about this. As far as I can tell it's not that it makes it blank, it's more that it suddenly, absolutely, requires it to be filled in. In earlier versions if it was blank it used the Key set under the "tables" button, and failing that used the file's primary key.

In 4.31 though, I've made it stricter - the uniquekey _must_ be set.

Cheers
Bruce