combit List & Label 30 - .NET Help
Programming Introduction / Other Important Concepts / Projecttypes
In This Topic
Projecttypes
In This Topic

Three different modes of the Designer are available as report type. Which mode is used depends on the value of the property AutoProjectType.

Lists

This is the default and matches the value LlProject.List for the AutoProjectType property.

Typical fields of use are invoices, address lists, reports with charts and cross tables, multi-column lists, briefly all types of reports where a tabular element is required. The report container is only available in this mode (see also Objects and Reportcontainer in Designer).

Labels

This project type matches the value LlProject.Label for the AutoProjectType property.

It is used for the output of labels. As there are no tabular areas and also no report container, only variables and no fields are available (see also Variables, Fields and Datatypes). If the used data source contains multiple tables, e.g. products, customers, etc. the source table for printing labels can be selected by the DataMember property of the component:

ListLabel LL = new ListLabel();

// Define table 'Products' as main table
LL.DataSource = CreateDataSet();
LL.DataMember = "Products";

// Define lable as project type
LL.AutoProjectType = LlProject.Label;

LL.Design();
LL.Dispose();

Cards

This project type matches the value LlProject.Card of the AutoProjectType property.

Card projects are a special case of label projects with exactly one page-filling label. Typical fields of use are printing file cards (e.g. all customer information at a glance) or mail merges. Activation is the same as "Labels", the same hints and restrictions apply therefore.