| EK RTF frequently asked questions | |
| 1. How to print document without user action? |
| 2. Is it necessary to have Word installed when creating report? |
| 3. Some chars are not displayed correctly? |
| 4. Why WordPad does not display graphic picture? |
| 5. Static picture in a report template makes a big RTF file? |
| 6. How to skip detail block in report, if there is no details for master record? |
| 7. Master-detail link doesn't work? |
| 8. How to insert rich formatted memo in a report? |
|
|
2. Is it necessary to have Word installed when creating report? It is not necessary to have Word installed on computer to create report, but you will need some application (free or shareware RTF editor, viewer) to see report results and print it. Top |
3. Some chars are not displayed correctly? Check properties Charset and Lang in your report component. Top |
4. Why WordPad does not display graphic picture? When inserting pictures with function \fimg(somepict)\ set Options properties eoGraphicsWMFCompatible and eoGraphicsBinary as shown: eoGraphicsWMFCompatible eoGraphicsBinary Word: false true Wordpad: true true Other: true false Note: When eoGraphicsBinary is set to false your output file will be quite a big size, because graphics will be inserted as text hexadecimal data. But this mode will allow to display pictures with most shareware and free RTF editors. Top |
5. Static picture in a report template makes a big RTF file? Don't insert large static pictures into report template manually. Use function fimg() instead. In report template insert field \fimg(pict1)\. Fimg is function that inserts file, specified in variable pict1, as picture. Add variable for example pict1=c:\Pics\graphic.bmp to VarList. Versions since 1.22 supports BMP, JPG, WMF, EMF files. See also previous question. Top |
6. How to skip detail block in report if there is no details for master record? Use Scan block in with "noeof" option. Keywords \scanentry\ and \scanfooter\ might be useful too in this case. Top |
7. Master-details link doesn't work? Set property DiasbleControls:=False. Check this property for both: EK RTF component and your datasets. Top |
8. How to insert rich formatted memo in a report? Use frtf() data format. See example "Rich text - frtf()" in the demo center. Note: frtf() format works only in registered versions of EK RTF since v. 2.00 Top |
See also Quick start example |