How to refresh data in a report

edited 9:17AM in FastReport 4.0
Hello,
I have a simple report, -- an address label. It is based on a tTable object... There is one row in the table. I run my report, the report looks great... Shortly after, my app deletes the single row in the address table, and adds a new row. I run the report again. I get the SAME data I originally had. If I exit out of my app, start it again, and run the report, the address label is correct. In short, it appears that Fast Reports is caching my data, and doesn't know that it has changed. The only way I am able to get around this so far is to close my tTable, then re-open it, then run the report. While this works, it is not elegant, and is probably NOT the right solution.

What is the proper way to deal with this? aka telling Fast Report NOT to cache data from a tTable/TfrxDBDataSet?

Thanks
George

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.