Great, we have an access database used to manage our projects and it has several crosstab queries in it for reports. I am setting up the DALs and BELs now. What would the syntax be to use a crosstab query in the DAL?
Right now all I have is:
Imports System.Data.OleDb
Public Function GetData()
Dim con As OleDbConnection
Dim cmd As OleDbcommand = New OleDbCommand
Dim strConnectionString As String
Dim startDate as String -- for input param
Dim endDate As String -- for input param
ok - I am feeling dense today. All I need to do is copy the query from access and put in my function. For some reason I was thinking I could reference it in some way like access.queries.QueryName. Of course Microsoft has not integrated their products that well. I'll just have to do some crazy joining to get it to work - just what I want to start on a Friday afternoon....lovely.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.