With version 4
I can assign a variable
ex onstartreport assign new Location of server database
frxMydacDatabase1.server =
Each report has a frxMydacDatabse inside
I develop on localhost but when I install my sofware I should
change the location of server by hand on each report .
With the version 4 no problem at runtime
frxMydacDatabase1.server =
Now when I load my application ir eceived message that tFrxMydacDatabase class was not locate I search frxMyDacdatabase. pas
was not found nothing
How to assign new server location to frxMyDacdatabase.properties at runtime . to change the location of server at runtime
Something change in version 5 for tfrxMyDacDatabase (Version 4 no problem)
-
- Posts: 58
- Joined: Fri 13 Oct 2006 00:08
-
- Posts: 58
- Joined: Fri 13 Oct 2006 00:08
This components is installed but inside my reort frxMyDacDatabase component class is not visible
All my report was create by previous version (4) of myDac
inside myreport in tab DAta I have one component
frxMyDacDatabase1 if click in properties server, password etc. are available.
But when by code I tried to alter this properties
ex : on frxreport1.onstartreport
FrxmyDacDatabase1 :=
is report variable.
FrxREport1.loadreport('0001.fr3')
FrxReport1.Params['serverName'] := 'localhost' // or 192.168.1.141'
This approach work with version MyDac4 and with new fastReport x MyDac compoenents we received error message then class tFrxMydacDatabase doesn't exist.
inside myreport in tab DAta I have one component
frxMyDacDatabase1 if click in properties server, password etc. are available.
But when by code I tried to alter this properties
ex : on frxreport1.onstartreport
FrxmyDacDatabase1 :=
is report variable.
FrxREport1.loadreport('0001.fr3')
FrxReport1.Params['serverName'] := 'localhost' // or 192.168.1.141'
This approach work with version MyDac4 and with new fastReport x MyDac compoenents we received error message then class tFrxMydacDatabase doesn't exist.
-
- Posts: 58
- Joined: Fri 13 Oct 2006 00:08
Just drop default database for each table inside report
I just delete frxMydacDatabase inside each report.
Automaticly each MyDacTable and MyDacQuery compoenets fill database name with Myconnection1 inside data module
Automaticly each MyDacTable and MyDacQuery compoenets fill database name with Myconnection1 inside data module
You should install FastReport X MyDAC Components from MyDAC 5 to be able to use the TfrxMYDACDatabase component. For more information please read the ReadMe.txt file in the %MyDAC%\Demos\Win32\ThirdParty\FastReport\FRX\ directory. %MyDAC% is the MyDAC installation path on your computer, X is the version of the Fast Report components that you use.