HI,
I am using the following query in vba and i get a compile error end of statement expected.
I get it at utyp which i have marked in bold and italic
Thanks
atksamy
I am using the following query in vba and i get a compile error end of statement expected.
Code:
sqltext = "SELECT [01_umwelt].utyp, [01_umwelt].uart, COUNT([01_umwelt].uart) AS CountOfuart," & _
"Format([CountOfuart]/DCount("[B][I][U]utyp[/U][/I][/B]","01_umwelt","utyp=" & [utyp]),"Percent") AS [%UTYP]," & _
"Format([CountOfuart]/DCount("uart","01_umwelt","uart=" & [uart]),"Percent") AS [%UART]" & _
"INTO UTYP_UART FROM 01_umwelt GROUP BY [01_umwelt].utyp, [01_umwelt].uart"
Thanks
atksamy
Comment