If I were to take a guess:
You might have put the textField name in the DefaultValue property of the
textField by mistake.
this_onBeforeDisplayEvent is a little too early to set value to a field. The
value may get overwritten by the DefaultValue.
You would be safer doing it in:
tbDatex_onBeforeDisplayEvent.
Aby
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 23, 1999 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: [ND] userSession Objects
>
>
> When I try to pass a TextBox field form page1 to a page2 I get the name
> of the of the textbox field in page two, rather that the data that was
> entered in the textbox field. Any ideas on how
> to correct this? Thanks, Steve
> my code:
> (page 1 activated when user clicks an HREF)
>
> public int this_onBeforeTerminateEvent(CSpTerminateEvent event)
> {
> CSpValue s = getDisplayFieldValue("tbDate1");
> spider.CSpider.putUserSessionObject("Date1", s)
>
> (page 2)
> public int this_onBeforeDisplayEvent(CSpDisplayEvent event)
> {
> CSpValue s = spider.CSpider.getUserSessionObject("Date1");
> setDisplayFieldValue("tbDatex", s);
>
> _________________________________________________________________________
>
> 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]