Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 02 APR 2004 10:43:09AM Matthew Jones wrote:

windowname=Start_Window (windowID, parentID, createparam, getstructureflag, instance)

getstructureflag: Pass true, to return the structure of a window, without actually executing it.

I can't get this seemingly simple statement to work.

I have the following in a stored procedure, but when I run it, the window is executed and displayed, and my variable x has nothing in it.

x=Start_Window( "MYWINDOW", "", "", 1 )

Can someone tell me how to get this working as documented please.

Thanks.


At 02 APR 2004 11:04AM The Sprezzatura Group wrote:

This works for us

x=Start_Window ('ZZ_IDE_TCL',@Window, , 1, )

The Sprezzatura Group

World Leaders in all things RevSoft


At 02 APR 2004 11:23AM Matthew Jones wrote:

So what I found was -

1. if I run the stored procedure from the Exec line in the System Editor (which is what I was doing, trying to just prove the code), the window is executed and displayed!

2. if I call the stored procedure from event code it works as expected.

Any ideas why? (sorry to be a pain, just trying to understand)


At 02 APR 2004 11:26AM The Sprezzatura Group wrote:

guessing that the Exec line is NOT event context and so there is no @Window…

The Sprezzatura Group

World Leaders in all things RevSoft

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/3fa87e3480e4e82b85256e6a0050daf0.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1