View Single Post
  #3 (permalink)  
Old 07-01-2009, 08:49 AM
jserge jserge is online now
Junior Member
 
Join Date: Jun 2009
Posts: 2
Default

Thanks a lot!

How can I ensure that the SQL that returns my userIdValue is executed before any other queries that are used in the report?

Say, I want to run the query first (getting userIdValue), then then do as you advised.

Code:
reportContext.setPersistentGlobalVariable(name, userIdValue);
Is there any call to execute the SQL from javascrip?

Thanks!
Reply With Quote