Catalyst (AREV Specific)
At 23 JUN 1998 06:25:07PM Bruce Lee wrote:
What is the syntax to pass a key to a template using the Catalyst Command within a program. I am running the following Command:
Catalyst("w","Order_Entry"). I would like to pass the key and open the template with the key. Currently, I am using @Recur1 to pass the key. Also, is it possible to pass a key when calling a window through a Softkey.
Thanks Bruce.
At 23 JUN 1998 09:46PM Barry Stevens wrote:
@data=OrderKey : \0D\
catalyst("W","ORDER_ETY")
At 23 JUN 1998 10:01PM Matt Sorrell wrote:
Bruce,
There are two ways that I use all of the time to do this. The first is to execute a select statment on the table in questions, generating a one key select list, and then call the window. This will automatically bring that record up in the window.
The other is to call the window, and then execute a catalyst command for a keyboard (code=K") that consists of the @ID followed by a CR. This would 'type' the @ID in the key prompt, and then execute a carriage return, effectively bringing up the record.
Matt Sorrell
At 24 JUN 1998 01:59AM Don Bakke wrote:
Well if it is always a single key with no spaces, the simplest way is to do this:
Catalyst("W", "ORDER_ENTRY ":Key_ID)
If the key can have spaces, or if you want to bring up a browse list, Andrew McAuley reminded me you can use Make.List very effectively as such:
Call Make.List(0, Key_list, "", "") ; * Key_list is @FM delimited
Catalyst("W", "ORDER_ENTRY")
At 24 JUN 1998 02:51AM Andrew P McAuley wrote:
Or even
@Sentence=. MYWINDOW MYKEY"Call Windowalthough this doesn't actually include catalyst as requested
![]()
World Leaders in all things RevSoft