At 10:24 AM 8/19/2014, TOM HART wrote:

What is the best way to put row numbers in a scrolling region,
like in a grid.


FWIW ...

There is no such thing like row numbers in Scrolling Region.

However ...

01.

If the Scrolling Region is based on a View, you may dynamically
define "virtual row numbers" to reflect in Scrolling Region.

Take a look at the technical article for more details ...
From The Edge: www.razzak.com/fte/

02.

If the Scrolling Region is based on a Temporary Table, you may
add AUTONUMbered column to achieve such goal.

-- A very simple example
   CONNECT RRBYW18
   SET ERROR MESSAGE 2038 OFF
   DROP TABLE tCustomer
   SET ERROR MESSAGE 2038 ON
   PROJECT TEMPORARY tCustomer FROM Customer USING ALL WHERE ...
   ALTER TABLE tCustomer ADD COLUMN RowNumber INTEGER
   AUTONUM RowNumber IN tCustomer USING 1,1 NUM

Now use the scrolling region based on auto-numbered tCustomer
table.

That's all there is to it!

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
--
31 years of continuous innovation!
16 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to