Wher to find documentation?

Is there somewhere a reference for the objects in fast reports?
The user guide and developers guide are good but only address those properties and functions that are needed in their examples. Is there a complete list of what each method does and what each property represents?

(I am particularly interested in RowValues and columnValues of cross reports and also in how I can get a picture loaded into a picture box when the filename (but not the whole path) is one field in the record so I need deatils of the picture boxes properties.
Thanks
Howard

(PS many of the posts in the forums are either very old or not answered. Is FR a product that is not used very widely?)

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 7:00PM
    http://fast-report.com/en/documentation/
    classes and properties of every object is available in the designer classestab
    read the user's manual on crosstabs thoroughly.
    for the pictureview use the file link property, you could create a variable(expression)from the dbfieldand use it in the filelink
    where are you trying to work from delphi or within the report?
  • edited December 2009
    gordk wrote: »
    http://fast-report.com/en/documentation/
    classes and properties of every object is available in the designer classestab
    read the user's manual on crosstabs thoroughly.
    for the pictureview use the file link property, you could create a variable(expression)from the dbfieldand use it in the filelink
    where are you trying to work from delphi or within the report?


    I have that documentation. It shows how to use columnvalues[0] and columnValues[2] but does not give any examples of using RowValues, nor of accessing any cell other than the heading rows.

    In my little trial 4 row x 7 column table I get an out of bounds error if I try to find the value of Rowvalues[1] or [2] or anything other than rowvalues[0]. I want to compare the value in the current cell with the one that will be put on the right of it so that I can colour code the current cell. Something like: {If value > rowvalues[columnIndex + 1] then... }

    i.e. I want the value in the 'E' column to be red if it is greater than the P column next to it or green if it is less
    (E is the estimated grade and P is the possible grade for the subjects En, Sc and Ma)

    ............<!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->enE...EnP...ScE...ScP...MaE...MaP
    fred....B.....C.....D.....D.....A.....B
    jim.....D.....C.....B.....A.....C.....D
    sally...C.....B.....D.....E.....C.....C <!--fontc--></span><!--/fontc-->



    For the picture I have a path to a folder with pictures in it and the filename of the picture (not the whole path) in a database field called 'filename'. I tried putting this

    'C:\Databases\Studs\photos\' + [filename]

    in the file link field but go nothing shown. Still got nothing If I put the whole path and filename in the database field (somthing I don't want to do). I'd prefer to have the path in a varaible in my Delphi program but cannot see from the user guide exactly how to refer to it. Page 34 mentions ([variable_name]) but I cannot see how to append the filename to that variable.

    Howard
  • gordkgordk St.Catherines On. Canada.
    edited 7:00PM
    first the file link
    "For the picture I have a path to a folder with pictures in it and the filename of the picture (not the whole path) in a database field called 'filename'. I tried putting this

    'C:\Databases\Studs\photos\' + [filename]"

    you forgot the database name

    if [filename] is a database field
    'C:\Databases\Studs\photos\' + [databasename."filename"]

    crosstabs the first level of a cell is [0] 2nd is [1]
    all arrays are 0 based.
    the main problem you are having is that you can't set the attributes of an object that is already processed by the value of an object that is not processed unless you make the report 2 pass store the value in an array and on the final pass use it in the comparison.
  • edited 7:00PM
    gordk wrote: »
    first the file link
    "For the picture I have a path to a folder with pictures in it and the filename of the picture (not the whole path) in a database field called 'filename'. I tried putting this

    'C:\Databases\Studs\photos\' + [filename]"

    you forgot the database name

    if [filename] is a database field
    'C:\Databases\Studs\photos\' + [databasename."filename"]

    crosstabs the first level of a cell is [0] 2nd is [1]
    all arrays are 0 based.
    the main problem you are having is that you can't set the attributes of an object that is already processed by the value of an object that is not processed unless you make the report 2 pass store the value in an array and on the final pass use it in the comparison.

    Thank you. That sorted out both issues. Unfortunately FR does not implement TStringGrid so I had to use a 2D array of string but I got my 2 pass cross report colour coded and the pictures working.

    Thanks for getting me on the road. I have just ordered FS and intend using it as part of a port of some rather complex databases that I wrote from MS Access to Dephi + MS SQL with FS to do the reporting so I need to get my head around the way it works so I can duplicate what I know how to do in Access. (I shall probably be back !)

    Regards Howard

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.