Default Avatar

gordk

gordk

About

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

Comments

  • Hi did you place export component on underlying form and set it's properties. regards
  • Hi Tokkie is it moving because we stretched the page header in the final pass, or because of code checking freespace and forcing newpage? If it always cuts at the same point say nth record of pageno x just add your own variable to track record cou…
  • hi itisually easir to just strech the band but since you are passing in the text any way do your calculations out side and set the font accordingly. use findobject method after loading report, retrieve size of the object then set the properties. r…
  • Hi change your thinking A band is only a place holder on a design page,it instructs the reportengine where to place the objects,(memos,shapes,etc.) that fall within its bounds. master,detail,subdetail bands require a connection to a dataset, either…
  • the demoreports show this in first report add an empty memo, align to band, set conditional highlighting to [line#]mod 2,send to back regards
  • Hi tokie here is some ideas report must be 2 pass on first pass gather values from mdband, pass out values to delphi to a record arrayor a tstringlist indexed by page number, using a custom userfunction, you can pass up to 3 params out, code in o…
  • Hi you are correct it is WAD no master record no mheader no mfooter, since no data no need. however you could load a report pass a recordcount into a variable and write code in obp of report title band to test if value is 0 then set the mdbands da…
  • hi mike it isn't a bug it is how the internal parser works plus the fact that you are working with variant strings and tstring of string lists in some cases If you use the expression builder it will build the syntax for you. if using a fmt functio…
  • here is a couple of examples mytestv var in dictionary expression to sub 1 datafield for another IF([CustomerData.Orders."AmountPaid"]<> 0.00, [CustomerData.Orders."PaymentMethod"], [CustomerData.Orders."Terms"]) expression to sub a…
  • hi trying to understand what you are trying to do. build your expression using expression builder it will help you get syntax and correct bracketing. are you tring to swap strings or test for a value either way the first part of the expression w…
  • hi mike glad you figured it out don't forget first note of power pack not supported by fr contact original writer for support regards
  • it would be someone else's private function library for fr. regards
  • Hi it is basically like getting values from an array. or string grid you will probably have to create variables with different names and use on get value events to retrive values for those variables. use fruserdatasets to control positioning in th…
  • Hi look at the properties and events of the designer component regards
    in SaveToFile Comment by gordk March 2004
  • yes you can this is a bit of a kludge but works use 2 report components, set one to use custom preview form, this will be the one you use to prepare and preview the report write code for the print button of the custom preview, to set a variable va…
  • Hi tokie "Yes it is an old printer. But first I was printing without a report generator and I have never had any problems." This should be a clue, it was probably using standard block fonts and not scalable true type fonts and being as old as it is…
  • Hi Anton for a good example using the custom preview look at the fr\demos\reports\frdemo.dpr project. look at unit1 code it has everything you need. regards
  • Hi Tokie here is some info from okidata 10i discontinued 12/31/98 replaced by 12i discontinued 11/30/2000 replaced by 14i discontinued 10/15/2003 replaced b4300. regards
  • Hi Tokie that is one possibility, the other could be the printer not being allowed to download fonts as needed, usually dm's,but it can be with any printer that has a programmable interface, either through driver or touchpanel on the printer. rega…
  • Hi you can also export your chart as a wmf and load it on the fly into a picture object. regards
  • The frdbdataset,fruserdataset, virtualdataset the databand through the dataset controls cursor movement in the table or query to which it is connected. The actual data connection is through the datafield variable placed in the memo(rectangle object…
  • i assume the fusertime variables are external to the report. the problem is your code procedure TForm1.frReport5EndBand(Band: TfrBand); begin if Band.Typ =btGroupFooter then begin if band.Name = 'GroupFooterUser' then begin //do whatever …
  • Hi this seems to be an intermittent thing code was changed in Fr2.51 to help prevent it. But occasionaly some have still experienced it. regards
  • Hi remove fr2.51 from the installed packages list open fr.inc file create a define for your version of tchart. open fr7.dpk in notepad add an ifdef clause for your version of tchart. recompile frlibrary. regards
  • Hi tokie It prints fine on canon inkjets under w98 wxppro. is it possible in the setup using the okidata that font substitution is ocurring? regards
  • try setting breaked to true regards
  • hi Tokie i can't seem to find a problem which memos are supposed to be centered verticaly? in the frp iam seeing a lot of empty fields. i am assuming there is no data Let me know a specific output page # field name where you get misalignment. rega…
  • if you want the memo to stretch vertically turn autosize off it stretches width turn wordwrap on if needed turn stretched on for both memo and band Also a stretched memo cannot have another memo directly below it in the same band. regards
  • Hi Tokie i can't see any thing particulary worng in the frf you posted and of course i cant print from it as i don't have your data. run a preview and save as a .frp file and post that ill see how it prints on canon ij regards
  • see my answer to the same question you asked in the yahoo group regards