Hi, I've a form which allow a user to select the year and category. Year and category will pass the value to the query :
"SELECT * FROM Shares WHERE Year = '"&yearr.txt&"' AND Category = '"&category.text&"'"
After that I want the report print the report to excel base on the query above. Any Idea? I'm new to VB.net . Please help me . Thank in advance.