Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Direct to Hyperlink Expand / Collapse
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, October 2, 2014 2:31 AM
Points: 30, Visits: 257
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)

LEN(First(Fields!CommentLineID.Value, "ToCommentLineID"))
,"void('" & 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


Group: General Forum Members
Last Login: Thursday, July 21, 2016 9:25 AM
Points: 176, Visits: 543
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.

Post #1598250
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse