Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 09 MAR 2000 12:46:27PM Bill Vaughn Wildish wrote:

I need to perform validation routine on the key field in my input form. I have inserted event code in the read event but have been unable to figure out how to retrieve the value just entered in the key field.

I have tried: Get_Property(@window, "EQUIP_NO"), Equip_No being the edit line id, but nothing is retrieved. Also tried using @ID with the same result. I need to retrieve this value and some cases modify it and return it as the key to be used to read the record.

It seem fairly straight forward, but I am stuck……Any help would be appreciated..


At 09 MAR 2000 01:37PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

Get_Property(@Window : '.EQUIP_NO', 'TEXT') or

Get_Property(@Window : '.EQUIP_NO', 'DEFPROP')

The Sprezzatura Group

World Leaders in all things RevSoft


At 09 MAR 2000 03:07PM dsig@teleport.com wrote:

Bill,

You are using the fully defined control name .. yes?

IF NOT(YES) THEN

the format of get property is

rtn get_property(ctrlname,property)

where ctrlname is the full name starting with the window nameinstance followed by '.' followed by the control name.

So a window called "INV_ENTRY" and a control named "DESC" would give the control the full name of INV_ENTRY.DESC. Note: if you have checked multiple instance in the window properties then you might have something like INV_ENTRY*3.DESC. Also note you can use @WINDOW for your window name.

The properties are listed in the help but 'TEXT' is used for editlines. Look in Sysprocs,Ctrl_Property_Equates for all the good names.

So .. data=get_property(@Window:".DESC","TEXT") will get the data.

dsig@teleport.com onmouseover=window.status=imagine … opinions that seem to scare;return(true)"

David Tod Sigafoos ~ SigSolutions

cell: 503-341-2983


At 09 MAR 2000 03:27PM Bill Vaughn wrote:

  • third_party_content/community/commentary/forums_nonworks/ff14f965fb9583978525689d0061a324.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1