Hi,
I have below query in my code. Am new to MS Access hence would request you to pardon my ignorance.
Could you please help me understand below query.
A short background of issue am facing.
This code is written in old version of MS Access.
Am required to modify the code according to Office 365.
I believe Pivot table is not supported in Office 365 hence I need to change code related to Pivot.
However am not able to understand below query.
Only thing I could understand was, this is a inner join query and some sorting is applied.
Can anyone please help me in this.
Dim MyString As String
MyString = "TRANSFORM First(Table_1.Field_1) AS MyNAME" & _
" SELECT Table_1.Field_2, Table_1.Field_3, Table_1.Field_4, Table_1.Field_5, Table_1.Field_6, Table_1.Field_7" & _
" FROM Table_1 INNER JOIN MyExternalTable ON Table_1.Field_1 = MyExternalTable.ABC_DD_ABC" & _
" GROUP BY Table_1.Field_2, Table_1.Field_3, Table_1.Field_4, Table_1.Field_5, Table_1.Field_6, Table_1.Field_7" & _
" ORDER BY Table_1.Field_2, Table_1.Field_3, Table_1.Field_4, Table_1.Field_5, Table_1.Field_6, Table_1.Field_7" & _
" PIVOT Table_1.Field_8 In (0,1,2,3,4,5,6,7,8,9,10);"