command to find the number of entries in a temp table
openedge, progress-4gl
Solution
/* create a temp-table so that we can test this technique
*/
define temp-table ttTest
field id as int
.
create ttTest.
id = 1.
create ttTest.
id = 2.
/* how many records?
*/
define query q for ttTest cache 0.
open query q preselect each ttTest.
display num-results( "q" ).
Problem
What is the command to find the number of entries/rows in a temp table? version 10.2b