When I use "Inner Join" in an SQL statement in VB 6 I get the error "Join Expression Not Supported". Doesn't VB support join expressions?
A little bit more information about your sql statement and the vb code would be helpful to help you. Cause you can create an InnerJoin sql statement within VB6, so I guess the problem is your code .... ;-)
dim db as database
dim rs as recordset
dim sDBPath as string
sDBPath = App.Path & "\RA.mdb"
Set db = OpenDatabase(sDBPath)
Set rs = db.OpenRecordset("SELECT [ChartID], [Year] FROM tblChartofAccounts INNER JOIN [tblAccount-Chart-Master] ON tblChartofAccounts.ChartID = 'D1'"
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.