Create report from code (everything from scratch inluding datasets)
Hi
I'm an absolute newby to fastreports so please excuse questions with obvious answers. Currently using version 4 , but may upgrade if we see that this is a usable solution.
My requirement is to generate reports at runtime. Layout, data, etc should all be interchangeable in a production environment and completely customizable.
My idea was to store layout (fr3 xml), sql in DB and load these at runtime. Initial tests were working well, but this was because I was working with an existing layout as defined using the designer.
Next step was to create everything from code (see documentation), but here I'm having trouble. Once datasets are added at runtime, I'm getting errors like "Error in expression ... Identifier expected". Seems I'm running into the same problem as reported in this post where the PropData value in the fr3 file conflicts with links on TfrxMemoView (?).
Can anybody give indication on how to intepret PropData values?
Or give some advice, point me to some documentation about how this is accomplished ?
I'll appreciate any help
Regards
gmb
I'm an absolute newby to fastreports so please excuse questions with obvious answers. Currently using version 4 , but may upgrade if we see that this is a usable solution.
My requirement is to generate reports at runtime. Layout, data, etc should all be interchangeable in a production environment and completely customizable.
My idea was to store layout (fr3 xml), sql in DB and load these at runtime. Initial tests were working well, but this was because I was working with an existing layout as defined using the designer.
Next step was to create everything from code (see documentation), but here I'm having trouble. Once datasets are added at runtime, I'm getting errors like "Error in expression ... Identifier expected". Seems I'm running into the same problem as reported in this post where the PropData value in the fr3 file conflicts with links on TfrxMemoView (?).
Can anybody give indication on how to intepret PropData values?
Or give some advice, point me to some documentation about how this is accomplished ?
I'll appreciate any help
Regards
gmb
Comments