Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Direct to Hyperlink Expand / Collapse
Author
Message
Posted Friday, July 18, 2014 12:19 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, September 25, 2014 3:09 AM
Points: 29, Visits: 248
Hi Experts,

I am very new in SSRS.
I am passing some id's to a URL through reporting servies. Based upon those id's URL site bring some data for only those ids which i just pass throught SSRS. IE can accept 2083 charactors in URL. any idea how can i do this. please see the code which has been written.Here ToCommentLineID having 270 ids and one id is 8 char long(8*270=2160)

=IIF(
LEN(First(Fields!CommentLineID.Value, "ToCommentLineID"))
+LEN(Parameters!URLForm.Value)
+LEN("&p1=&p2=XXXXXXXXX")>2083
,""
,"void(window.open('" & Parameters!URLForm.Value & "&p1="& First(Fields!CommentLineID.Value, "ToCommentLineID") & "&p2=" & Code.Crypter(UCase(User!UserID)) & "','_blank','location=no,toolbar=no,left=100,top=100,height=600,width=800'))"
)
Post #1593915
Posted Thursday, July 31, 2014 7:11 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, August 21, 2014 7:49 PM
Points: 171, Visits: 501
I have two hypothetical ideas, but whether either of them would work is dependant upon the data type of the IDs and the structure of the data.

* If the IDs are integer values, perhaps you can convert the values to hexadecimal or some other numeric equivalent that requires fewer characters to convey the same value.

* If there are dependencies between the IDs (for example, if "A" has a certain value, then "B" will always have a fixed value or be within a limited range of values), then perhaps it would be possible to create surrogate keys that reduce the total number of permutations and thus fewer parameters to pass.

Neither of these is a simple solution, and possibly neither is practical. Whatever solution you find, it will likely require some creative thinking and outside-the-box ingenuity. So if (when) you find a solution and successfully implement it, please post your answer here so that others can benefit too from what you discover.

Geoff
Post #1598250
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse