gordk
gordk
About
- Username
- gordk
- Location
- St.Catherines On. Canada.
- Joined
- Visits
- 0
- Last Active
- Roles
- FR Team
Comments
-
hi it will work with grouping if we get the condition expression correct here is a sample from a test note all the extra [ ] pairs. just sub your queryname where needed groupheader2 condition [DialogForm.Query1."X"]<= 200] and [[DialogForm.…
-
not sure what you mean by second time around. but before you start building call the clear methods of the report component ie frreport1.pages.clear; regards
-
You may not want a group report you may want master detail detail detail detail with that said, grouping relies on the data being pre sorted to the grouping criteria. ie a query across several tables returning all the data with an order by claus…
-
yes there is The best is to use a form with a tchart update it and then use the assign method in the report component's on before print event handler. There is 2 files in the public.binaries newsgroup that should give you some ideas. regards
-
Bruce is correct use the correct syntax, you can see this in the main demo switch child band report. sample of obp of mdband. if [Line#] <= 5 then ChildBand := 'Child1' else ChildBand := 'Child2'; regards
-
Hi Azza you are talking about decimal align like a spreadsheet. here is how I work arround it currently in 2.5# but it would be nice to have in 3 use 2 memos of a fixed size side by side right align the left memo left align the rightmemo. conve…
-
Use an intermediate variable and use it in main report but you willonly be able to use it in areas after subrep is finished. regards
-
Hi Write an onbeforeprint event for the report component. ie procedure TForm1.frReport1BeforePrint(Memo: TStringList; View: TfrView); begin if View.Name = 'RxRich1' then TfrRxRichView(View).RichEdit.Lines.LoadFromFile('C:\D3Projects\fr245check\…
-
Hi Open fr.inc look at conditional defines for tchart versions add one for your version. open your fr#.dpk file in wordpad or notepad look at the defines for tchart versions. Add one for your version using correct names of tchart7 units. save…
-
Hi carsten modify the design page properties after loading the report procedure TForm1.Button1Click(Sender: TObject); var page:tfrpage; v,v2:tfrview; b:tfrbandview; ab:tfrband; obindex,pgindex:integer; teststr:string; begin frreport1.cl…
-
Try Adding extra apostrophes FrReport1.Dictionary.Variables:= ''''+'?'+'''' from docs (An extra pare of quotes in this example is necessary for assigning string constants). FastReport regards string values, assigned to variables from data…
-
Take a look at the label demo in the fast-reports.public.binaries newsgroup. regards
-
Unfortunately the obp event belongs to each object and you have to write code in the event for each band. You can create your own function libray to be available to fr. for a good example of how to do this look at the added functions lib from the …
-
hi "2- If there are some details pages for a single master record I want at the begining of the pages the same MasterData." Are you talking about different design pages or pages produced due to Number of detail records? if the later just add desi…
-
IMHO as a user once you start manipulating page production through code or in a final pass you can't depend on the Page# or totalPages variable you must use your own vars for both, and increment or decrement accordingly, and finding the right plac…
-
Hi See the rowcount property of the band in the object inspector. regards
-
It may be possible but it will be very trickey assume a detailband set to virtual 1 record containing a number of subreports which have visible property turned off and contol on by value of a variable. but the value for the variable would have to …
-
Hi IMHO If you want to do any serious work with charts it is much easier to work with an external tchart update the chart and then assign the chart to the frchart object in either an event of the report component or in script of memo of chart obj…
-
Try using the frconstants of true or false when inside the report. regards
-
hi instead of calling showreport, call preparereport then call printpreparedreportdlg for print dialog or printpreparedreport('',1,true,frall) param1 str '1,3' or '5..9' or '' for all param2 int number of copies param3 boolean collate param4 …
-
It is as designed the chart view is a very limited tchart and it depends upon the values in the memos given for data and legend, if not visible then no values, no chart. regards
-
hi add the variables/datafields from memo1 memo2 by placing expression in memo3. ie tablename."Fieldname"] + [tablename."Fieldname" regards
-
Hi I am not sure of an efficient method to do this and i need some extra info What is causing the need for so many different detail bands? Are the different detail bands using different frdbdatasets or just different fields from the same dataset?…
-
nil is not usable in the script again look at the demo as suggested and you will see the correct way to use an array and its index. regards
-
Hi Tou cannot add a subreport or a child band to a page footer band. regards
-
Yes I would expect that error you have hard coded a bad index value to occur the index values you have given MyArr[] when you added data to the array elements have no relation to either rtid or rt the value you are using as an index when trying to …
-
Hi dont add a chart to a band containing data use a different master set to virtual 1 record or a child band; regards
-
Hi Randel with the frdateedit control try using dateedit1.text the date edit picks up on the system default, IIRC and you can modify how it displays the year. so if your dateedit control displays a date looking like mm/dd/yyyy for example 01/12/2…
-
hi if your memo is displaying "[TITLE]" you may have inadvertently set the textonly property of the memo at design time. I don't see anything in your code that would change your report options what you might try to dblcheck instead of calling pre…
-
hi works ok for me look at your format function Day := [FORMATDATETIME('DD/', dtp_StartDate.Date)]; should be Day := [FORMATDATETIME('DD/', [dtp_StartDate."Date"])]; remember when you want to retreive the value of a var or datafield to wrapit w…