Hi to everybody!
I've found a bug on the reporting section of the Platinum version.
To verify follow these instructions:
- Right clic on a report and select "Edit data source" to modify a previously created sql statement
- Select "Edit ad hoc data source"
- clic on "Next" button
- on the next screen clic on "Query Builder..." button
- on the SQL genie screen clic on the Filter tab
now clic on the "value/expression" field (when a previously created "where" clause is on that field) and then clic on the arrow that move on the right the panel of conditions (the button with the ">" under the expressions). The "value/expression" field is cleared!
I can reproduce the situation.
My SQL statement:
SELECT MOTRICI_ASSICURAZIONI.MAS_TARGA AS targa, MOTRICI.MOT_DESCRIZIONE AS descrizione, FORNITORI.FOR_RAGIONE_SOCIALE AS compagnia, MOTRICI_ASSICURAZIONI.MAS_NR_DOCUMENTO AS nr_documento, MOTRICI_ASSICURAZIONI.MAS_DATA_SCADENZA AS data_scadenza
FROM (MOTRICI_ASSICURAZIONI MOTRICI_ASSICURAZIONI
LEFT OUTER JOIN MOTRICI MOTRICI
ON (MOTRICI_ASSICURAZIONI.MAS_TARGA = MOTRICI.MOT_TARGA)
LEFT OUTER JOIN FORNITORI FORNITORI
ON (MOTRICI_ASSICURAZIONI.MAS_COMPAGNIA = FORNITORI.FOR_CODICE))
WHERE motrici_assicurazioni.mas_anno_competenza in (SELECT MAX(x.mas_anno_competenza) FROM motrici_assicurazioni x
WHERE (x.mas_targa = motrici_assicurazioni.mas_targa and x.mas_compagnia = motrici_assicurazioni.mas_compagnia and x.mas_nr_documento = motrici_assicurazioni.mas_nr_documento) )
ORDER BY MOTRICI_ASSICURAZIONI.MAS_DATA_SCADENZA, FORNITORI.FOR_RAGIONE_SOCIALE, MOTRICI_ASSICURAZIONI.MAS_TARGA
Thanks in advance for your interest.
Sergio
I've found a bug on the reporting section of the Platinum version.
To verify follow these instructions:
- Right clic on a report and select "Edit data source" to modify a previously created sql statement
- Select "Edit ad hoc data source"
- clic on "Next" button
- on the next screen clic on "Query Builder..." button
- on the SQL genie screen clic on the Filter tab
now clic on the "value/expression" field (when a previously created "where" clause is on that field) and then clic on the arrow that move on the right the panel of conditions (the button with the ">" under the expressions). The "value/expression" field is cleared!
I can reproduce the situation.
My SQL statement:
SELECT MOTRICI_ASSICURAZIONI.MAS_TARGA AS targa, MOTRICI.MOT_DESCRIZIONE AS descrizione, FORNITORI.FOR_RAGIONE_SOCIALE AS compagnia, MOTRICI_ASSICURAZIONI.MAS_NR_DOCUMENTO AS nr_documento, MOTRICI_ASSICURAZIONI.MAS_DATA_SCADENZA AS data_scadenza
FROM (MOTRICI_ASSICURAZIONI MOTRICI_ASSICURAZIONI
LEFT OUTER JOIN MOTRICI MOTRICI
ON (MOTRICI_ASSICURAZIONI.MAS_TARGA = MOTRICI.MOT_TARGA)
LEFT OUTER JOIN FORNITORI FORNITORI
ON (MOTRICI_ASSICURAZIONI.MAS_COMPAGNIA = FORNITORI.FOR_CODICE))
WHERE motrici_assicurazioni.mas_anno_competenza in (SELECT MAX(x.mas_anno_competenza) FROM motrici_assicurazioni x
WHERE (x.mas_targa = motrici_assicurazioni.mas_targa and x.mas_compagnia = motrici_assicurazioni.mas_compagnia and x.mas_nr_documento = motrici_assicurazioni.mas_nr_documento) )
ORDER BY MOTRICI_ASSICURAZIONI.MAS_DATA_SCADENZA, FORNITORI.FOR_RAGIONE_SOCIALE, MOTRICI_ASSICURAZIONI.MAS_TARGA
Thanks in advance for your interest.
Sergio
Comment