- Add the following function in report code
public Shared
CompanyAddressInfo as Object
Public Function
SetData(NewData as Object,Group as Integer)
if Group = 1 and NewData > "" then
CompanyAddressInfo = NewData
End if
End Function
Public Function
GetData(Num as integer,Group as Integer) as Object
if Group = 1 then
if
Choose(Num, Split(Cstr(CompanyAddressInfo), Chr(177)))="" then
Return " "
End if
Return Cstr(Choose(Num, Split(Cstr(CompanyAddressInfo), Chr(177))))
End if
End Function
End Function
- In Report Body – create the textbox and call the setdata function from hidden expression of textbox
=Code.SetData(Cstr(Fields!CompanyAddress1.Value) +
Chr(177) +
Cstr(Fields!CompanyAddress2.Value) + Chr(177) +
Cstr(Fields!CompanyAddress3.Value) + Chr(177) +
Cstr(Fields!TaxIdentTypeCaption.Value)
, 1)
, 1)
- Now just direct use the GetData function in report Header and Footer to get the value of index data.(Note: there is no need to create SetData function in report header as we do in old version report)
=Code.GetData(82,1)
- For Image Box = There is no need to create SetPicture and GetPicture function in report to print logo.You can directly use the field expression in report header and footer to print logo
=Convert.ToBase64String(Fields!CompanyInfo2Picture.Value)
Thank You for this article and the description of this issue :) Really interesting and good read :)
ReplyDeleteHi Nilesh,
ReplyDeleteThank you for nice post. I tried printing logo by convert.tobase64string codeline... But it didn't work. Cross mark came in RTC report.
I am using Nav 2016.
Hi,I want to create index for report.In my report there are more than 30 pages.The report has multiple dynamic processes like for one process consumes 5 pages another process contains 8 pages and so on. I want create index on first page that has content fields are processno,processname and pageno.
ReplyDeletePlease help me to solve the problem i'm stucked with this point from last 5 days.
here It takes a lot to be successful with a home business opportunity. You have to find something that you like to do, work out a plan for your business, and stick with it, even when it seems like it will never produce any income for you. If you can't do these three things, you may want to start looking for work outside the home.
ReplyDeleteelazığ
ReplyDeletevan
mardin
sakarya
düzce
36SCL
görüntülü.show
ReplyDeletewhatsapp ücretli show
G2RET
ankara parça eşya taşıma
ReplyDeletetakipçi satın al
antalya rent a car
antalya rent a car
ankara parça eşya taşıma
B3T1
0A12D
ReplyDeleteYalova Lojistik
Hatay Parça Eşya Taşıma
Kırklareli Parça Eşya Taşıma
Elazığ Lojistik
Rize Lojistik
0E1CB
ReplyDeleteTrabzon Lojistik
İstanbul Şehir İçi Nakliyat
Ünye Oto Lastik
Çerkezköy Fayans Ustası
Mardin Evden Eve Nakliyat
Elazığ Lojistik
Diyarbakır Şehirler Arası Nakliyat
Bartın Evden Eve Nakliyat
Tekirdağ Şehir İçi Nakliyat
4F8D6
ReplyDeleteMersin Parça Eşya Taşıma
NWC Coin Hangi Borsada
Nevşehir Lojistik
Hatay Lojistik
Mardin Parça Eşya Taşıma
Sinop Parça Eşya Taşıma
Niğde Parça Eşya Taşıma
Trabzon Evden Eve Nakliyat
Sonm Coin Hangi Borsada
D0DA3
ReplyDeleteArtvin Şehirler Arası Nakliyat
Sivas Parça Eşya Taşıma
Yenimahalle Boya Ustası
Trabzon Lojistik
Çerkezköy Çatı Ustası
İzmir Şehir İçi Nakliyat
Dxy Coin Hangi Borsada
Çerkezköy Çekici
Yalova Parça Eşya Taşıma
46213
ReplyDeleteEtimesgut Fayans Ustası
Rize Şehir İçi Nakliyat
Düzce Lojistik
Silivri Boya Ustası
Niğde Parça Eşya Taşıma
Silivri Çatı Ustası
Gölbaşı Parke Ustası
Çerkezköy Cam Balkon
Isparta Şehir İçi Nakliyat
Thanks for such a content.
ReplyDelete