paik@ati.tis.llnl.gov (Yunki Paik) (02/22/89)
Anyone excellent with Accell? Here is our problem: We would like to simulate Unify's ENTER using ACCELL. It would work like this: The user runs a Query-by-Form on the first form. When a data set is made current following a succesful FIND operation, the NEXT form key may be pressed, which would then present the available report formats and the destination of the output. My question is: is it possible to reference the data set made current by the FIND operation on the previous form? I explored the possibility of using SET/SELECT/WHERE in the second form in conjuction with SEARCH_RANGES and CLEAR_FIND_EXP attributes of the first form, but to no avail. The problem arises with integer, date, or amount type variables, whose WHERE expression must be known at compile time. Curretly, I capture the data in a tmp file, behind the scene, using WRITE PIPELINE under ON FIND section. The captured file is used as data input to RPT by the next form or discarded if next form is never entered. Anyone with elegant method? Thank you. -- Yunki Paik paik@ati.tis.llnl.gov