Index: trunk/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl
===================================================================
--- trunk/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl (revision 426)
+++ trunk/RaportySQL/RozliczenieProwizjiZaReklame2009.rdl (revision 435)
@@ -284,5 +284,13 @@
     </DataSet>
   </DataSets>
-  <Code />
+  <Code>Public Function GetMonths(P as Parameter) as String
+  Dim i As Integer
+  Dim s As String
+  s = p.value(0)		
+  For i = 1 to Ubound(P.Value)
+    s = s &amp; "," &amp; p.Value(i)  
+  Next i
+  Return s
+End Function</Code>
   <Width>19cm</Width>
   <Body>
@@ -306,6 +314,6 @@
         <Left>1cm</Left>
         <Height>0.75cm</Height>
-        <Value>="ROZLICZENIE PROWIZJI ZA REKLAMÄ  rok: " &amp;Parameters!rok.Value &amp; "  miesiÄ
-c: " &amp; Parameters!miesiac.Value</Value>
+        <Value>="ROZLICZENIE PROWIZJI ZA REKLAMÄ  rok: " &amp; Parameters!rok.Value &amp; "  miesiÄ
+c(e): " &amp; Code.GetMonths(Parameters!miesiac)</Value>
       </Textbox>
       <Table Name="table1">
