I.Benini
26th January 2005, 14:06
Hi everyone,
I have to develope a "query by user" session. According to the input data the user entries, a dynamic sql is built. Now the problem: the query result must be displayed not on a report, but on a type-2 form of a new session where a record can be selected and some choice user must be implemented. The first session (input data for the query) has no main table, the query is built and then another session is activeted: I could parse, exec and fetch the query and save the data on a temporary table in the before.program of the second session script. This table is, of course, the main table of this second session. What do you think? Can someone suggest something better?
Thanks.
I have to develope a "query by user" session. According to the input data the user entries, a dynamic sql is built. Now the problem: the query result must be displayed not on a report, but on a type-2 form of a new session where a record can be selected and some choice user must be implemented. The first session (input data for the query) has no main table, the query is built and then another session is activeted: I could parse, exec and fetch the query and save the data on a temporary table in the before.program of the second session script. This table is, of course, the main table of this second session. What do you think? Can someone suggest something better?
Thanks.