NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: zdpl0a on June 19, 2008, 10:34:03 AM

Title: Updated To 4.31 - Unique Key Unchanging Key Gone
Post by: zdpl0a 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
Title: Re: Updated To 4.31 - Unique Key Unchanging Key Gone
Post by: zdpl0a 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.
Title: Re: Updated To 4.31 - Unique Key Unchanging Key Gone
Post by: Bruce 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