Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing control values in other controls

Status
Not open for further replies.

PeteWalburn

Programmer
Jan 13, 2004
63
GB
There must be a way to do this. I can' t believe how awkward everything is in Actuate.

I have 2 browser scripting controls in my report request page. Each one has an image control that is used to open a new form showing a list of items to pick from. If I use the browse to select an item in the first control, then everything is fine in the second browse. But if I simply type text into the fist browser control, then how can I pass the value in the second controls image control?

Thanks,

Pete
 
Actuate isn't all that awkward, just like any other programing language it has it's quirks. The issue you're having sounds like a cookie issue, are you sure you are setting the cookie in the first browser control?

-----
a5k
 
I'm not too sure if I have set the cookie in the first browser control. I have code in the BrowserCode function and that does have a call to cookieUpdate.

Could you tell me how I should be setting the cookie in the first control please?

Pete
 
I've managed to get this to work. I added code to the BrowserCode() function, that sets the browser control to be an INPUT of TYPE text. I set the OnBlur event to call a LostFocus function. And in the LostFocus function I added code:
document.cookie=""status="" + thisValue + """";

which actually sets the cookie status to be qual to the value that was entered in the browser control.

Pete


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top