Default Avatar

gordk

gordk

About

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

Comments

  • you must write your own custom dialog controls, while there is more objects, available in the newer versions of fr" fr4.##", ie.. "group box" you still need to write custom controls for other objects that are not included a sample of what is require…
  • IMHO think of a userdataset as only positioning the databand to the correct record(row) according to the props and event handlers you have written for the tfrxuserdataset. or for controlling the nuber of times a report is run if connected to the t…
  • you must use the correct cast a design page is tfrxreportpage, not tfrxpage. see the programmers manual chapter on modifying report page's properties under working with the tfrxreport component.
  • While each individual cell is not available, the matrix layout is you can modify the design properties of the matrix when you first load the report. from delph ie: procedure TForm1.Button4Click(Sender: TObject); var // declare var of correct typ…
  • have you tried adjusting the the minwidth maxwidth properties aftersetting the font. and before adding data.
  • after loading report and before calling show or prepare set the pagecount property for each design page
  • i am not a c programmer but here is a delphi example Type the following text in this object: [My Variable] Now create the TfrxReport.OnGetValue event handler: procedure TForm1.frxReport1GetValue(const VarName: String; var Value:…
  • since you are using Page# and Totalpages# is the report 2 pass, also try using page and totalpages if it is not a composite report.
  • read the programmers manual modifying report pages property.
  • here are some more things to pay attention to as the converter does not change them once you have added all your frx components to the apps delphi form and named yor frxdbdatset/s appropriately, and coded event handlers , before you try running t…
  • so I need that code yes only when passing strings, and note the change to your sample. frxReportn.Variables := QuotedStr(QuotedStr(DelphiVariable)) ? i suggest before you try any more conversions try creating a report using fr4. read the progr…
  • the conversion unit is found in either the source or lib folder under your c:\program files\fastreports\fastreport 3 folder, or the folder under which you installed fr3 you must have at least the standard version of fr3. also see my response to the…
  • in some cases it may be easier to do so. here are some tips delphi code to set values for categorized variables must change when passing string values you need extra Apostrophes. if your fr2x report contained memos with datafields like [table1…
  • I am not sure how you are working., but don't use the old save to fr3 from fr2.5x in your fr4 project add the frx2to30.pas unit to your uses clause, this will allow fr4 designer to open an fr2.xx file and save it in fr3/4 format. make sure your f…
  • the error message indicates that that the project did not contain the internal dbengine components. I am not sure how you are working., but don't use the old save to fr3 from fr2.5x in your fr3 project add the frx2to30.pas unit to your uses clause…
  • need more info cannot reproduce here.
  • sorry you cant have it both ways, if you use report dialogs you get a preview. if you want to not show previews you must use your own dialogs pass the values to the report set the reportcomponents properties and call prepare report then call print.
  • yes you can but you may get un expected results when used with grouping typicaly masterdata1.dataset.next;
  • I should also have pointed out that you may want to look at using header footer combinations. ie the header or footer of the detail set can have memos with data from the master record dataset.
  • you will need to obtain a barcode lib like psoft which supports the pdf417 barcode.
  • first read the usermanual on using the engine object. - masterdata (from masterdataset) -- detaildata (from detaildataset 1) detail footer may be 0 height use oap event for code to show child1 engine.showband(child1); - some more masterdata (…
  • this is just a guess as i dont work with ibo it appears as though the dpk file is for d5, so you may need to modify the package and its files to suit d7.
  • you must write your own handler for the form on which the tfrxpreview componet is located. see the programmers manual creating a custom preview.
  • you found the problemif the function is not added it trigers the call to the report components's on user function event . BTW if you want to have functions available to all reports within the ide better to create a function lib. see developers man…
  • 1. see my answer to your other post. IMHO i would update to latest version of fr4 daily build. load your fr2x reports from the blob and save them in a dir as fr2 files not as fr3. in your ap that you are converting make sure you have the designer…
  • that file should be in fastreport 3/libd6 folder. However, since you are going to upgrade at such a late time I would suggest you move to fr4 first, as it is the version which is continuosly upgraded fr3 stopped at version 3.24.6 IIRC
  • Glad to hear you found it yes it is a usual problem with currency values even though display prop is 2 decimals the underlying value holds at least 4 places so depending upon calculations (usually taxes) a stored value may actually be 0.0010 or mo…
    in HideZeros Comment by gordk December 2007
  • the drawback of keep together is that it produces large white space. some times it is a slight amount of freespace > the height of the header, a lot depends upon height of page footer, sometimes increasing the height of page footer by 1 or2 pixel…
  • what version are you using, are you working with a memo or a cross tab? is the value a true 0 or a decimal like 0.0001 and memo's display format is set to 2 decimals?
    in HideZeros Comment by gordk December 2007
  • add code in the obp event of the header to check the free space and force a new page. if engine.freespace < headerbandname.height + masterdata1.height then engine.newpage;