Default Avatar

Strannik

Strannik

About

Username
Strannik
Joined
Visits
0
Last Active
Roles
Members

Comments

  • To clarify the issue: For example, I have to display report depending on input parameters: storedProc->Parameters->Items[1]->Value = 1; report->ShowReport(); ... storedProc->Parameters->Items[1]->Value = 2; report->…
  • to gordk: I tried single and double apostrophes. But it still displays [DATE] or '[DATE]' or something like this. Instead I need date value. In design-time everything is OK, but in run-time not
  • to gordk: Sorry ... it doesn't work. When I write: m->Memo->Add("[DATE]") it displays [DATE] as text, not current date value.
  • to gordk: Thanks a lot. I wrote the following code to display current date/time on the memo,but nothing was displayed.Do I use correct property('Script') and syntax ? m->Script->Add("[FORMATDATETIME('dd mmmm yyyy',[DATE])]");
  • to gordk: You know. I need the simpliest way to resolve the problem: change font of memo at run-time. So please, help me with the code I wrote.
  • to gordk: Thanks. I tried following solution but it didn't work(no values actually displayed in report): TfrMemoView * m; report->LoadFromFile("e:\\4\test.frf"); report->PrepareReport(); TfrPage * page = new TfrPage(100,200,100,…