Visual Catpro
  

Doc Reports

Doc Reports is to set columns and report forms for printing. Open DocReports then following windows appears:

graphic

The above screen divides in three parts 1st is Report Properties, 2nd is Columns selected for this report and last is column properties.

To add columns click on 'Add' button in second part. Add the number of fields required for printing then set the properties. Here is the detail of column properties.

  
Property
Description
ApplyBoldItalic
Mark this property True if you want to apply bold/italic style to a column.
ApplyColor
 
ColAlign
C for Center, L for Left, R for Right. In case of blank it treated as Left Alignment.
ColID
Auto Generated ColumnID displayed here.
ColName
 
graphicColSize
 
ColType
Specify 'S' if the column is Sr.No. , 'C' even if it is numeric or 'D' for Date
ColWidth
Column width (In twips) for windows based printing. If Dos based printing is selected then this property is ignored.
ColWidthDos
Column width (In Characters) for dos based printing. If window based printing is selected then this property is ignored.
graphicCondition
-----------TO BE OMITTED-----------------
DoubleRuling
Mark 'True', if you want double ruling lines with column.
graphicDuplicateAllowed
 
Expression
To print an expression instead of a DB field. like "Item: " & r99("qMhd") or r99("quantity") * 100. If FieldName is mentioned then expression is ignored.
FieldName
Specify the database field here for printing.
FixColID
It shows the column id. It is a read only property.
FontBold
Mark True, If you want to print column in bold characters
FontItalic
Mark True, If you want to print column in italic characters
FontName
specify the font name for this column in windows based printing.
FontNameDos
specify the font name for this column in dos based printing.
FontSize
specify the font size.
graphicFontColor
-----------------NOT WORKING-----------------
Format
You may apply various format as per requirement. Here are list of formats:
Example Value :  9922525.123
n2 : 9922525.12
n3 : 9922525.123
c2 : 99,22,525.12
if you want to print zero also : use N2, C2 ( Capital Letters)
Gap1
Gap in Twips before printing column value in window based printing. If dos based printing is selected then this property is ignored.
Gap2
Gap in Twips after printing column value in window based printing. If dos based printing is selected then this property is ignored.
GapDos1
Gap in characters before printing column value in dos based printing. If window based printing is selected then this property is ignored.
GapDos2
Gap in characters after printing column value in dos based printing. If window based printing is selected then this property is ignored.
Heading1
Heading of a column for printing. The heading will be printed if you mark Heading property of DocReports as 'True'.
graphicHeading2
 
graphicHeading3
 
graphicHeading4
 
HeadingAlign
Alignment of heading. C for Center, L for Left, R for Right. In case of blank it treated as Left Alignment.
HeadingFieldName
Specify 'ItemHeading' here if you want to print heading of item which entered by pressing 'F2'  in item feeding on an invoice.
Hide
Mark True, If you want to Hide column in printing.
graphicMinFontSize
 
graphicNoRepitition
 
NoRulingAfter
Mark True, If no ruling line is required after the column in printing.
graphicPlus
 
RemarksFieldName
Specify 'ItemRemarks' here if you want to print remarks of item which entered by pressing 'F2'  in item feeding on an invoice.
ReportName
It shows the report name. It is a read only property.
graphicSubTotals
 
Totals
It should be True. If you want to print MidQuantity Totals.
graphicWarning
 
Wrap
It should be True. If you want to print item description in next line it its length is more then one line.

Click Here to see DocReport properties.