I am using the PersonalEdition with an SQLserver 2008 database.
A Dynamic Join View (DJV) that I created is joining 3 tables and when I browse it it displays correctly. It is an accountnumber with 1st en second level grouping. I made a seperate DJV because I will be using the level and grouping many times. So al working OK.
When I make a new DJV in which I have the measures table as the main table and the earlier created DJV as the second the result is an error. Even when I make a new DJV with only the earlier DJV as the main table it is giving this error. The error is : "-2147217900 : Incorrect syntax near :.
The generated SQL is : SELECT *
FROM (@DYNJOIN:,dbo.Grootboekrekeningen;GrbBd;GrbCode;;;;;;;;;; ,dbo.Groependetails;EgrBd;EgrGrbCode;EgrBd;EgrOvzNr;EgrGrpCode;;;;;;L; ,dbo.Groepen;;;GrpBd;GrpOvzNr;GrpCode;GrpBd;GrpOvzNr;GrpHgrCode;;;L; ,dbo.Hoofdgroepen;;;;;;HgrBd;HgrOvzNr;HgrCode;;;L; ,,,@) DAI_
I have no clue why it is not working. I am correct to assume that you can use DJV's created earlier in a new DJV? I have tried switching language (dutch and English) but to no results.
Any help on this would be very much appreciated.
Kind regards,
Jeroen