Page 1 of 1

How I can Show Form from report ?

Posted: Sat Dec 29, 2018 11:59 pm
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

Re: How I can Show Form from report ?

Posted: Mon Dec 31, 2018 8:27 am
by Lech Kulikowski
Hello,

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

Thank you.