Студопедия
Новини освіти і науки:
МАРК РЕГНЕРУС ДОСЛІДЖЕННЯ: Наскільки відрізняються діти, які виросли в одностатевих союзах


РЕЗОЛЮЦІЯ: Громадського обговорення навчальної програми статевого виховання


ЧОМУ ФОНД ОЛЕНИ ПІНЧУК І МОЗ УКРАЇНИ ПРОПАГУЮТЬ "СЕКСУАЛЬНІ УРОКИ"


ЕКЗИСТЕНЦІЙНО-ПСИХОЛОГІЧНІ ОСНОВИ ПОРУШЕННЯ СТАТЕВОЇ ІДЕНТИЧНОСТІ ПІДЛІТКІВ


Батьківський, громадянський рух в Україні закликає МОН зупинити тотальну сексуалізацію дітей і підлітків


Відкрите звернення Міністру освіти й науки України - Гриневич Лілії Михайлівні


Представництво українського жіноцтва в ООН: низький рівень культури спілкування в соціальних мережах


Гендерна антидискримінаційна експертиза може зробити нас моральними рабами


ЛІВИЙ МАРКСИЗМ У НОВИХ ПІДРУЧНИКАХ ДЛЯ ШКОЛЯРІВ


ВІДКРИТА ЗАЯВА на підтримку позиції Ганни Турчинової та права кожної людини на свободу думки, світогляду та вираження поглядів



Контакти
 


Тлумачний словник
Авто
Автоматизація
Архітектура
Астрономія
Аудит
Біологія
Будівництво
Бухгалтерія
Винахідництво
Виробництво
Військова справа
Генетика
Географія
Геологія
Господарство
Держава
Дім
Екологія
Економетрика
Економіка
Електроніка
Журналістика та ЗМІ
Зв'язок
Іноземні мови
Інформатика
Історія
Комп'ютери
Креслення
Кулінарія
Культура
Лексикологія
Література
Логіка
Маркетинг
Математика
Машинобудування
Медицина
Менеджмент
Метали і Зварювання
Механіка
Мистецтво
Музика
Населення
Освіта
Охорона безпеки життя
Охорона Праці
Педагогіка
Політика
Право
Програмування
Промисловість
Психологія
Радіо
Регилия
Соціологія
Спорт
Стандартизація
Технології
Торгівля
Туризм
Фізика
Фізіологія
Філософія
Фінанси
Хімія
Юриспунденкция






Scripting in Report Creator

Advanced users who like to do some development themselves you can add C#, VB or J# scripts into your reports.

With that you can actually do almost anything you want. You can do complex calculations or in the following case you can get all the line sizes of one Pipe Line Group. If you have an example like this you have Line# 0001with 5 Pipe Line Segments. In you Line List you may want to see the Line# just ones, but you want to see all the different sizes used in this Pipe Line Group.

With the following script you get all the sizes of one Pipe Line Group (this script works for metric sizes only).


 

using System.Collections.Generic;

 

List<int> sizesList = new List<int>();

 

private void AllSizesLabel_SummaryGetResult(object sender, DevExpress.XtraReports.UI.SummaryGetResultEventArgs e)

{

sizesList.Sort();

string str = "";

for (int i = sizesList.Count - 1; i >= 0; i--)

{

if (i < sizesList.Count - 1)

{

str += ",";

}

str += sizesList[i];

}

 

e.Result = str;

e.Handled = true;

}

 

private void AllSizesLabel_SummaryReset(object sender, System.EventArgs e)

{

sizesList.Clear();

}

 

private void AllSizesLabel_SummaryRowChanged(object sender, System.EventArgs e)

{

object val = GetCurrentColumnValue("PipeLines_Size");

if (val != null)

{

int size;

if (Int32.TryParse(val.ToString(), out size))

{

if (!sizesList.Contains(size))

{

sizesList.Add(size);

}

}

}

}

 


 

The result could look like this:

Of course you could as well show the largest size only.

Don’t forget there is an extensive documentation of XtraReports at:

http://docs.autodesk.com/PLNT3D/2013/ENU/report_designer.pdf


Consider 3rd party solutions

Some things can’t be configured. It may take some development. Or maybe you have a task at hand about converting drawings

There are several companies out there which can help.

Here are some examples:

Conversion between different CAD systems (UNITEC Germany, http://www.unitec.de/en.html)

Handling all your data (CRM, ECM, EDM, PLM, PPS, PM, ERP) (AXAVIA Austria, http://axavia.at/)

Engineering and Admin Tools (CAD STUDIO ABCOM GmbH (ACPLANT) Germany, http://www.cadstudio.com/)

Pipe Spec Management (CLA Italy, http://www.cla-it.com/)

Look at Plant Exchange (http://autocad.autodesk.com/?nd=plant_home)


Читайте також:

  1. C Complete this extract from a company report with appropriate words or phrases from the box in Exercise B.
  2. Choose the correct variant in reported speech for each sentence.
  3. Complete the collocations in this report of a rugby match.
  4. Financial Reporting
  5. From the Court Notes of a Local Reporter
  6. GRAMMAR: INDIRECT SPEECH/REPORTED SPEECH
  7. How is your day different to Lisa’s? Using sequencers (after that, finally, first, then, next) in the correct order report to the group about your daily routine.
  8. HOW TO MAKE A GOOD PRESENTATION OR WRITE A GOOD REPORT / ESSAY / PAPER
  9. Later that day you tell another friend what Steve said. Use reported speech.
  10. Listen to Adam Phillips’ report for VOA news about Nicholas Negroponte, who combines imagination, engineering and idealism to bring laptops to the world’s children.
  11. Make short reports, completing the sentences. Present your report to the group.
  12. Reported Paul said (that) he woke up feeling ill, so he didn't go to work. or Paul said (that) he had woken up feeling ill, so he hadn't gone to work.




Переглядів: 433

<== попередня сторінка | наступна сторінка ==>
Linking external Data sources | Основні положення. Терміни і визначення

Не знайшли потрібну інформацію? Скористайтесь пошуком google:

 

© studopedia.com.ua При використанні або копіюванні матеріалів пряме посилання на сайт обов'язкове.


Генерація сторінки за: 0.004 сек.