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 19 MAY 2011 09:39:19AM Derek Harrison wrote:

Hi all,

I'm new to OpenInsight & AREV.

I'm trying to do something simple and I'm struggling to find information in the documentation.

I have a form with a EDITLINE control on.

I have a button with the following code:


$Insert Msg_Equates

  Declare function Get_Property
  FromBranch=Get_Property(@WINDOW:"EDITLINE_FROMBRANCH","TEXT")
  Msg(@window, FromBranch)

RETURN 0


All I've get is an empty MessageBox - I'm sure I've made some fundamental error.

Any help is appropriate.


At 19 MAY 2011 10:12AM Dave Harmacek wrote:

you have

FromBranch=Get_Property(@WINDOW:"EDITLINE_FROMBRANCH","TEXT")

should be

FromBranch=Get_Property(@WINDOW:".EDITLINE_FROMBRANCH","TEXT")

you are missing the delimiter "." between the @window variable and the control name.

Dave

View this thread on the Works forum...

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