Release 10.1A: OpenEdge Development:
Progress 4GL Handbook

> ## Using a temp-table as a parameter

> The second major use for temp-tables is to let you pass a set of data from one routine to another as a parameter. (A routine is a generic term that includes external procedures, internal procedures, and user-defined-functions. You’ll learn more about user-defined functions in Chapter 14, " Defining Functions and Building Super Procedures.")

> In particular, passing a temp-tables as a parameters is useful when you need to pass a set of one or more records from one OpenEdge session to another. This book doesn’t cover the sending of data between an AppServer session and a client session, but the next test procedure simulates this by building a temp-table in a procedure that has no user interface, and then passing the temp-table to a separate procedure that manages the UI. The UI procedure is the same Customers and Orders window you’ve been using. You’ll add a second browse to it to display Order Lines for the currently selected Order.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095