I have found that doing something like
>> ((CSpRepeated) event.getSource()).setCurrFirstRow(20); <<
in Repeated1_onBeforeDisplayEvent(){
works.
The pageSessionObject name is something like
>> ^Repeated1.firstRow.projName.pageName <<
May be, before going to another page you can get this PSO, put it into a
USO, get it when you come back and do setCurrFirstRow.
Aby
-----Original Message-----
From: peter cheung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 31, 1999 3:53 PM
To: [EMAIL PROTECTED]
Subject: [ND] how to display say starting from record 30th when loading
a page with a repeat object.
Normally when we display a page with a repeat bind to a dataobject we
display the first page from row 1 and use the navagation buttons.
If I have a href or button and the user go to some other page to look at
detail infos.
I want the user to be able to click a button and return to the original
page.
How do I set the display to display the actual rows and not the first
set.
What are the names of the page session objeccts used by ND for the
navagation button.
Can I set those values to what I want and load the page and it will
display the correct rows?
I do not want to have to code all the navagation buttons to do this.
(I can set the whereclause of the data object for rownum > x in
onbeforedataobjectexecute event and then process all the navagation
buttoms but that seems like a lot of work.)
Use the back button in the browser is not acceptable because the user
could go through many /many pages before returning.
thanks for any feedback.
I like to know if anyone have done this / or any ideas/ or if you know
that cannot be done.
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]