NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: spot1701 on August 13, 2008, 02:04:15 AM

Title: Compile errors with buttons on browses (PR10)
Post by: spot1701 on August 13, 2008, 02:04:15 AM
Add a button to a browse. On the properties of the button set the "Action" (general tab) to "Other".

When you compile you'll get a "Calling Function As Procedure" error.

The error points at the "p_web._ViewGet" line in the following code:

Validate::Other  Routine
  data
loc:invalid                String(100)
loc:was                    Any
  code
  do OpenFilesB
  loc:ViewState = p_web.GetValue('ViewState')
  p_web._ViewGet(thisView,p_web.Base64Decode(loc:ViewState))
  do ClosefilesB

Title: Re: Compile errors with buttons on browses (PR10)
Post by: Bruce on August 13, 2008, 05:51:59 AM
Hi Bryan,

Strictly speaking it's a warning, not an error, but I've fixed it for PR11.
I'm hoping to get that uploaded tonight if possible because there are some other, more serious, issues in PR10.

Cheers
Bruce