How I can Show Form from report ?

Stimulsoft Ultimate discussion
Post Reply
Rawafed IT
Posts: 2
Joined: Sat Dec 29, 2018 11:51 pm

How I can Show Form from report ?

Post by Rawafed IT »

My Question is how I can Show Form from report ?

For more explain
In this link I create vb.net project
https://alrawafedit.com/UploadForCust/S ... owsApp.rar

inside First form two buttons
- First one showing a report
- Second is Showing windows form and run “go to” function to show data by ID in text

what I want ?
Click First button and showing report
On I click on CountryCode cell in report
showing a Second FrmCountries and pass Country ID to GotoByID function

I was try adding this code in event click in CountryCode cell
"
Dim FCountries As New FrmCountries
FCountries.GotoByID(CInt(Countries.ID()))
FCountries.ShowDialog()
"
but it showing an error !

Kindly change on my attachment project to solve problem .

Thank you again
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: How I can Show Form from report ?

Post by Lech Kulikowski »

Hello,

Please check the following video:
https://www.youtube.com/watch?v=TEYuQmia9IY&t=22s

Thank you.
Post Reply