Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Direct to Hyperlink


Direct to Hyperlink

Author
Message
snsingh
snsingh
SSC Rookie
SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)SSC Rookie (35 reputation)

Group: General Forum Members
Points: 35 Visits: 277
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'))"
)
geoff5
geoff5
SSC-Enthusiastic
SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)

Group: General Forum Members
Points: 180 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.

Geoff
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search