[[https://www.revelation.com/|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]] ==== Catalyst (AREV Specific) ==== === At 23 JUN 1998 06:25:07PM Bruce Lee wrote: === {{tag>"AREV Specific"}} 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") dbakke@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] ---- === At 24 JUN 1998 02:51AM Andrew P McAuley wrote: === Or even @Sentence=. MYWINDOW MYKEY" Call Window although this doesn't actually include catalyst as requested ;-) amcauley@sprezzatura.com [url=http://www.sprezzatura.com" ]Sprezzatura Ltd[/url] [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=8441CF55EAE11C918525662C007B267E|View this thread on the forum...]]