How I can Show Form from report ?
Posted: Sat Dec 29, 2018 11:59 pm
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
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