see below
At 10:22 AM 1/28/00 -0800, Ben wrote:
>Hi,
>
> I am getting a problem when trying to update the existing data. I am
> reading
>values using "SELECT blah.." and assiging the retrieved data to page
>session objects using:
>
>putPageSessionObject("*tbUsername",resTab.getRowData(0,0));
************** I'm going to assume that after this point, the request ended
and the page was displayed, and then the user clicked a button or href and
a new request started executing in a web event
****************************************************************************
***********
>and while trying to read the values using:
>
>CSpider.getWebVar("tbUsername");
>
>I am getting null values for the already exisiting data.
There's a mismatch between where your "put" is storing stuff, and where
your "get" is expecting to find it.
If you used putPageSessionObject on the way out, you should use
getPageSessionObject oon the way back
If you had hidden fields (CSpHidden) and you set the values in those (via
setValue or setDisplayFieldValue) on the way out, you could use "getWebVar"
on the way back, but it would be easier to call getValue or
getDisplayFieldValue using the CSpHidden objects.
-- Curt Springer, Team ND
>Also the Query is giving an error in ND, but not in Oracle.
>Error:[ENDOFFETCH] End of Fetch
>(By using status.getErrorMessage())
>
>Can anybody suggest some fix for this?
>
>Thanks
>Ben
>_________________________________________________________________________
>
>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]