Default Avatar

gordk

gordk

About

Username
gordk
Location
St.Catherines On. Canada.
Joined
Visits
0
Last Active
Roles
FR Team

Comments

  • hi It should be either in a child band or a detail attached to the master band. regards
  • Just like a delphi memo the memo's text is an indexed stringlist of lines. memo1.memo.lines.clear also watch the nuber of apostrophes used don't forget just like delphi they get stripped. You want to be carefull subbing Strings like 'N/A' , if …
  • Set Breaked property to true regards
  • hi IIRC this happens on first page only as the basic assumption is the first mdband is on the first page so form newpage doesn't do any thing until the next record. write code in obp event of master data band if [Page#] = 1 then newpage; should s…
    in Break page Comment by gordk May 2004
  • Hi you may have to do some working around here If on a dot matrix printer be careful line feeds are 1/6 inch so rounding errors may create problems first label stock is usually a matrix of down acrros or down only per page. the page usually has…
  • IMHO it is required tiff export is usually used to export to a basic fax format and expects mono regards
  • I agree Pierre probably should give it a few days since news groups just started up. regards gord
  • I second that Pierre. Regards
  • Hi Otzi Then i would expect that you must set that option correctly before printing. Does the option appear in fr's page options by any chance? If it is you may have to compile fr lib with defineprnreset of frprinters.pas, turned on. regards
  • It may not be a published property in the rxlib itself. And when it is changed all font colors must be changed to suit. Also most would not want to waste the ink. regards
  • Hi I may well have missed it but check your querys on the dialog form is the datasource property of the detail query set to query1 and the paramater property set with masterdata option. regards gord
  • I for got to mention in running the report it would be probably cause a problem if you alter the query of the masterdetail band
  • Hi i expect this may be your problem. If i alter the master query to include AND FIELD1<>'C' this wil now return only records where field 1 is not c you may want to use a where clause regards
  • Hi Otzi i haven't worked with dsided printers, but is there a setting in the printerdriver properties dialog that allows setting of 2s or 1s? regards
  • which version are you trying to install 2.51 or 2.52 if 2.51 see the messages in the query builder forum there should be no problems with fr2.52 regards
  • look in the fastreport.net forum you will find the answer. regards
  • yes it can work in the obp event of the masterdataband and set the visible property of the detailBands to true or false according to expression. if [tablename."fieldname"] > value then bandname.visible := true else bandname.visible := false; …
    in Scripting Comment by gordk May 2004
  • no add am empty memo to the band size it to the size of the band. set its conditional highlighting to [line#] mod 2 and select which color you want. regards
    in Banding Comment by gordk May 2004
  • Hi Georgios typically main demo is found in yourdrive...\fastreports\demos\reports folder the 2 reports are 44.frf and 47.frf regards
  • try changing your query adding as to change the 2 fieldnames to something you can differentiate. regards
  • Hi Manel try using line# variable in expression in the obp of the masterdataband. line# resets at start of each group IIRC. so if [line#] = 1 then memo1.visible := true else memo1.visible := false; should work regards
  • Hi here is a sample of adding items procedure TForm1.designbtnClick(Sender: TObject); // declare variables of these types var v: TfrView; b: TfrBandView; sr: tfrsubreportview; ts : string; Page: TfrPage; begin frreport1.Dictionary.Clear; …
  • take a closer look at the mainreports demo keep group together. you must place code in the correct bands and in, if or if not finalpass blocks of code. and gather the correct band's height. make sure band and memos stretched property is set to tru…
  • Hi j := [Query1."Memo1".lines.count]; you cant do this here you are confusing the contents of the field with a Fr memo(Text object) you can't access it directly. ie fieldname j := [Query1."Memo1"] first since it is in a query you would better t…
  • Yes if one hetrogeneous query returning all data use an orderby clause in the query to get sorting of fields in correct order and use group headers with conditions ahead of 1 mdband if your query is not a tdataset descendant then connect the md b…
  • Hi It can be a combination of both fr is not perfect wysiwyg there are rounding errors typically of 2 or more pixels, ver3 soon to be released is much more accurate. In my own experience I have found that designing in pixels makes it easier. over…
  • do it in the script section of the rtf objects memo. but you won't be able to test file existence unless you use a get val function for a variable or write an onuserfuntion and return a test value. regards gord
  • first try place apostrophe around '#13#10' or use the memo's lines.add method. which way you do it will depend on where you are trying to to it from, Delphi,opb of band or memo's script. regards
    in Inserting CrLf Comment by gordk May 2004
  • Hi in design window select the desired memo(text object) , then go to the text toolbar and click the normal/rotate button. regards
  • Further look at the new engine project and the files in source\xxx folder they will give you the basic layout of what fr requires. regards