Datafields in fastreport 3

edited 10:18PM in FastReport 3.0
hello, i've developped a few reports with fr 2.47 and i'm trying to port them in version 3. To link a memo with a field from Clientdataset that is build dynamically (thus, i can't link it directly in design time using tFrxDbDataset), i have written in the script of the memo :
memo := [dmMain.CDS_MAin."PCE_Subject"]

it works fine in version 2.47 but in version 3, the compiler tells me "Identifier expected".

What can i do to make it works?

Comments

  • edited 10:18PM
    You should connect cds_main to TfrxDBDataSet component first. Then you can use it: [frxDBDataset1."PCE_Subject"]
    Please read the user manual.

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.