Используйте следующий код в событии BeforePrint:
Код: Выделить всё
if (Products.ProductID == 0)
{
Text1.Border = new StiBorder(StiBorderSides.Bottom|StiBorderSides.Left|StiBorderSides.Right, Color.Black, 1, StiPenStyle.Solid, false, 0, null);
}
Код: Выделить всё
if (Products.ProductID == 0)
{
Text1.Border = new StiBorder(StiBorderSides.Bottom|StiBorderSides.Left|StiBorderSides.Right, Color.Black, 1, StiPenStyle.Solid, false, 0, null);
}
Код: Выделить всё
{IIF(Документ.Дата_принятия.ToString() == "", " ", Документ.Тип_документа+" "+Документ.Номер+" "+Документ.Название_док)}
Код: Выделить всё
Text1.Border = new StiBorder(StiBorderSides.Top|StiBorderSides.Left, Color.Black, 1, StiPenStyle.Solid, false, 0, null);