I'm assuming you did the wizardly stuff of mapping a field on page1 (that
maps back to a data column in do1) to a data column of do2  in an href or
button.  When the button/hrf is clicked, this causes a dynamic criterion to
be set on the column of do2 using the value of  the page field.  When page2
is loaded, display processing is invoked.  Because do2 is bound to fields
on page2, it will be executed.  When it is executed the criterion on the
data column should restrict the results set to one row.

In the page's onBeforeRowDisplayEvent, or later, in the
onBeforeDisplayEvent of any of the fields on the page, you could get a
handle to the data object and call getLastResults, which would give you a
results set.  You should test to make sure that there is exactly one row
(getNumOfRows), but, basically, call methods to get stuff out of the
results set, specifying 0 whereever a row number is required by the method
(because the first and only row would be row#0).

-- Curt Springer, Team ND

At 04:27 AM 4/16/99 -0800, [EMAIL PROTECTED] wrote:
>Hello,
>
>Now I wrote a page navigation from page1(bound with dataobject1) to
page2(bound with dataobject2) and a ticketid
>is transferred to dataobject2. This ticketid acts as a key to both
dataobjects. 
>
>Automatically those display fields bound with fields of dataobject2 on
page2 will get displayed and I can get their
>values by getDisplayFieldValue(String). But there are some other fields
that are also bound with dataobject2 but I 
>don't want to display(so there is no display field on page2 for them). How
can I get the values of these fields? 
>
>I thought there should be methods like getValueOfCurrRow() in
CSpDataObject or some of its subclasses, but 
>could not find some. Could anybody give me a hint?
>
>Thanks in advance,
>-Fujian
>_________________________________________________________________________
>
>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]
> 
_________________________________________________________________________

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]

Reply via email to