:::: this definition must precede the include of a file
:::: do not change the fild name if you use the
:::: a file include cserve_cat
begin,defrecord:
recordname:cs_forum_file
description:
field:forum_name
field:forum_key
field:lib_num
field:lib_name
field:user_name
field:user_number
field:file_name
field:file_type
field:file_size;ftype:n
field:count;ftype:n
field:date_first;ftype:d
field:date_last;ftype:d
field:title
field:keywords
field:description
sort:1,date_last
sort:2,title
sort:3,file_name
sort:5,file_type
sort:4,count
sort:6,file_size
end,defrecord:
:
:: This define how the data should appear
:: You shoul look at the manual for full explanation
:: dtxt = field name
:: xcs = x colum start position
:: xcl = orizontal lenght
:: alo = aligmente
:: fmo = format
:: yls = start vertical posizion
:: yll = height
::
begin,defview:
recordname:cs_forum_file
window:1
view:1
def:dtxt:title;xcs:1;xcl:50;
def:dtxt:file_size;xcs:51;xcl:11;alo:right;fmo:thousand
def:dtxt:date_last;xcs:63;xcl:12;alo:right;fmo:d-mmm-yy
def:dtxt:count;xcs:76;xcl:8;alo:right
end,defview:
:::::::::::

begin,defview:
recordname:cs_forum_file
window:1
view:2
def:dtxt:title;xcs:1;xcl:50;fta:bold
def:dtxt:file_size;xcs:51;xcl:11;alo:right;fmo:thousand
def:dtxt:date_last;xcs:63;xcl:12;alo:right;fmo:d-mmm-yy
def:dtxt:count;xcs:76;xcl:8;alo:right
def:dtxt:file_name;xcs:1;yls:2
def:dtxt:file_type;dtxtb: (;dtxta:);xcs:last+1;yls:2
def:dtxt:user_number;xcs:28;yls:2
def:dtxt:user_name;xcs:last+1;yls:2
end,defview:

begin,defview:
recordname:cs_forum_file
window:1
view:3
def:dtxt:title;xcs:1;xcl:50;fta:bold
def:dtxt:file_size;xcs:51;xcl:11;alo:right;fmo:thousand
def:dtxt:date_last;xcs:63;xcl:12;alo:right;fmo:d-mmm-yy
def:dtxt:count;xcs:76;xcl:8;alo:right
def:dtxt:file_name;xcs:1;yls:2
def:dtxt:file_type;dtxtb: (;dtxta:);xcs:last+1;yls:2
def:dtxt:user_number;xcs:28;yls:2
def:dtxt:user_name;xcs:last+1;yls:2
def:dtxt:description;xcs:;xcl:max;yls:3;yll:max;alo:wordbreak
end,defview:


begin,defview:
recordname:cs_forum_file
window:2
view:1
def:dtxt:title;xcs:2;xcl:max;;fta:bold
def:dtxt:file_size;xcs:2;xcl:12;alo:right;fmo:thousand;yls:2
def:dtxt:date_last;xcs:16;yls:2;fmo:d-mmm-yy
def:dtxt:date_first;dtxtb:(;dtxta:);xcs:last+1;yls:2;fmo:d-mmm-yy
def:dtxt:count;xcs:last+1;xcl:8;alo:right;yls:2
def:dtxt:file_name;xcs:2;yls:3
def:dtxt:file_type;dtxtb: (;dtxta:);xcs:last+1;yls:3
def:dtxt:user_number;xcs:28;yls:3
def:dtxt:user_name;xcs:last+1;yls:3
def:dtxt:description;xcs:2;xcl:max;yls:4;yll:max;alo:wordbreak
end,defview:

::::::::::::::::::
begin,defview:
recordname:cs_forum_file
window:3
view:1
def:dtype:fieldfull;dtxt:f_name
def:dtype:fieldfull;dtxt:forum_name;yls:last
def:dtype:fieldfull;dtxt:forum_key;yls:last
def:dtype:fieldfull;dtxt:lib_num;yls:last
def:dtype:fieldfull;dtxt:lib_name;yls:last
def:dtype:fieldfull;dtxt:title;yls:last;yll:max;alo:wordbreak
def:dtype:fieldfull;dtxt:file_name;yls:last
def:dtype:fieldfull;dtxt:file_size;yls:last
def:dtype:fieldfull;dtxt:file_type;yls:last
def:dtype:fieldfull;dtxt:count;yls:last
def:dtype:fieldfull;dtxt:date_last;yls:last
def:dtype:fieldfull;dtxt:date_first;yls:last
def:dtype:fieldfull;dtxt:user_number;yls:last
def:dtype:fieldfull;dtxt:user_name;yls:last
def:dtype:fieldfull;dtxt:description;yls:last;yll:max;alo:wordbreak
def:dtype:fieldfull;dtxt:keywords;yls:last;yll:max;alo:wordbreak
end,defview:



:::::: view for clipboard  WINDOW 200	IS CLIPBOARD
begin,defview:
recordname:cs_forum_file
window:200
view:1
def:dtxt:file_name;dtxta:\t;dxtba:always
def:dtxt:title;dtxta:\t;dxtba:always
def:dtxt:file_size;dtxta:\t;dxtba:always
def:dtxt:date_last;dtxta:\t;dxtba:always
def:dtxt:count;dtxta:\r\n;dxtba:always
end,defview:

:::::: view for clipboard complete
begin,defview:
recordname:cs_forum_file
window:200
view:3
def:dtxt:lib_num;dtxta:\t;dxtba:always
def:dtxt:file_name;dtxta:\t;dxtba:always
def:dtxt:title;dtxta:\t;dxtba:always
def:dtxt:file_size;dtxta:\t;dxtba:always
def:dtxt:date_last;dtxta:\t;dxtba:always
def:dtxt:count;dtxta:\t;dxtba:always
def:dtxt:file_type;dtxta:\t;dxtba:always
def:dtxt:user_number;dtxta:\t;dxtba:always
def:dtxt:user_name;dtxta:\t;dxtba:always
def:dtxt:keywords;dtxta:\t;dxtba:always
def:dtxt:description;dtxta:\r\n;dxtba:always
end,defview:


:::::: view for clipboard  WINDOW 300	IS EXPORT
begin,defview:
recordname:cs_forum_file
window:300
view:1
def:dtxt:file_name;dtxta:\t;dxtba:always
def:dtxt:title;dtxta:\t;dxtba:always
def:dtxt:file_size;dtxta:\t;dxtba:always
def:dtxt:date_last;dtxta:\t;dxtba:always
def:dtxt:count;dtxta:\r\n;dxtba:always
end,defview:

:::::: view for EXPORT complete
begin,defview:
recordname:cs_forum_file
window:300
view:3
def:dtxt:lib_num;dtxta:\t;dxtba:always
def:dtxt:file_name;dtxta:\t;dxtba:always
def:dtxt:title;dtxta:\t;dxtba:always
def:dtxt:file_size;dtxta:\t;dxtba:always
def:dtxt:date_last;dtxta:\t;dxtba:always
def:dtxt:count;dtxta:\t;dxtba:always
def:dtxt:file_type;dtxta:\t;dxtba:always
def:dtxt:user_number;dtxta:\t;dxtba:always
def:dtxt:user_name;dtxta:\t;dxtba:always
def:dtxt:keywords;dtxta:\t;dxtba:always
def:dtxt:description;dtxta:\r\n;dxtba:always
end,defview:


