@ -142,8 +142,12 @@ group by\
@@ -142,8 +142,12 @@ group by\
</#list>\
;\
\
<#assign orderby=0 />\
\
select \
<#foreach column in columns>\
<#if column.is_visible==1>\
<#assign orderby=orderby +1 />\
<#assign format_sql="" />\
<#if column.format_sql?string != "">\
<#assign format_sql=column.format_sql />\
@ -155,10 +159,11 @@ select \
@@ -155,10 +159,11 @@ select \
${column.targetfieldname}${format_sql}\
</#if>\
<#if column_has_next>,</#if>\
</#if> --wenn sichtbar\
</#foreach>\
from tmp_stud2\
order by <#list 1..group by as i>${i}\
<#if i != group by>\
order by <#list 1..order by as i>${i}\
<#if i != order by>\
,\
</#if>\
</#list>\
@ -176,9 +181,9 @@ drop table if exists tmp_stud;\
@@ -176,9 +181,9 @@ drop table if exists tmp_stud;\
drop_and_delete movable_columns \
white_space_color=COLOR_WHITE fixed_columns=1\
min_heading_height=55\
<#foreach column in columns>\
<#foreach column in columns><#if column.is_visible==1> \
Column CID=0 heading_text="${column.caption}" center_heading explanation="${column.description}"\
row_selectable heading_platform readonly\
width=${column.visible_width} text_size=60\
</#foreach>\
</#if></# foreach>\
@@@^Studienfach^Anzahl bzw. Anteil^Datenblatt Studierendenstatistik^drop table if exists tmp_stud2; drop table if exists tmp_stud3;^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^