Howto Use Mysql DB in Fastreport Studio/Server: Step by Step Example
Howto Use Mysql DB in Fastreport Studio/Server: Step by Step Example
FastReport Studio/Server
step by step example
First you should download and install the MySQL Connector/ODBC from page
http://de!mys"l!com/downloads/connector/od#c/$!%&!html
&! 'hen open Fast(eport Studio designer) Data page and place the *DO data#ase component on #lan+ page!
,! Dou#le clic+ on *DOData#ase& and press #utton -./ in right of -Choose the data#ase/ line!
$! Select from list -Microsoft OL0 DB 1roider for ODBC Driers/ and press -2e3t/ #utton!
4! Chec+ -5se connection string/ and press -Build/ #utton!
%! 1ress -2ew/ #utton!
6! Select -System data source/ and press -2e3t/!
7! Select a drier from list -MySQL ODBC./
8! Fill all needed fields for connect to MySQL data#ase! Do not remem#er set a data source name for feature use!
9ou can use -'est/ #utton for erify conncetion!
:! 1ress O;!
&<! 1ress -(efresh/ and select preiously created data source name! 'hen press -'est connection/ and -O;/!
&&! Clic+ on *DOData#ase& in designer and set Connected = 'rue in O#>ect ?nspector! 9ou can toggle a property
-Login prompt/ to False if needed!
&,! 1lace the *DO'a#le& and select any ta#le in O#>ect ?nspector @-'a#le2ame/ properyA
&$! Bo to report page) place MasterData #and on the page and select Source *DO'a#le&!
&4! DragCnCdrop any fields of *DO'a#le& from Data inspector in MasterData& #and!
&%! Clic+ on preiew #utton!
&6! Sae report in SererD(eports folder and restart Fast(eport Serer! Bo to Serer page and clic+ on your report!