 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Erwin Guest
|
Posted: Tue Apr 26, 2005 2:40 pm Post subject: FastReport/Script => "Cannot open file GlobalFunctions.pas". |
|
|
Hello,
I want to use the ‘uses'-clause for global constants and functions in
FastScript. When I place "uses ‘GlobalMessages.pas',
‘GlobalFunctions.pas';" at the first row, you get an error message
"Cannot open file GlobalFunctions.pas". Even if they're saved in the
same directory as the report file.
The only way to find the given units, you had to give the entire
directory name in the command line.
What do I have to do, when I want to include the units, so the system
will search the file in the right path?
Regards, Erwin.
|
|
| Back to top |
|
 |
hgvnl Guest
|
Posted: Mon Aug 15, 2005 9:15 pm Post subject: Re: FastReport/Script => "Cannot open file GlobalFunctions.p |
|
|
Hello Erwin,
The error you get comes from a missing libary path in Delphi. You could try
to either add the path to the unit to the project options, or add the path
to the delphi library path. Then your problem should be solved.
Regards,
Teo
(FastReport reseller in the Benelux)
"Erwin" <ehoste_x13 (AT) hotmail (DOT) com> schreef in bericht
news:ffc259aa.0504260640.56debbb3 (AT) posting (DOT) google.com...
| Quote: | Hello,
I want to use the 'uses'-clause for global constants and functions in
FastScript. When I place "uses 'GlobalMessages.pas',
'GlobalFunctions.pas';" at the first row, you get an error message
"Cannot open file GlobalFunctions.pas". Even if they're saved in the
same directory as the report file.
The only way to find the given units, you had to give the entire
directory name in the command line.
What do I have to do, when I want to include the units, so the system
will search the file in the right path?
Regards, Erwin.
|
|
|
| Back to top |
|
 |
Justus J. Guest
|
Posted: Tue Aug 16, 2005 9:07 pm Post subject: Re: FastReport/Script => "Cannot open file GlobalFunctions.p |
|
|
Teo,
your response was not that FAST, was it?
Sorry, couldn't resist. I'm more than happy that this newsgroup is read by
resellers as wel, please keep it going.
Justus
----------
"hgvnl" <planetnews (AT) teowindotcjb (DOT) net> wrote on august 15, 2005:
| Quote: | Hello Erwin,
....
(FastReport reseller in the Benelux)
"Erwin" <ehoste_x13 (AT) hotmail (DOT) com> wrote on april 26, 2005
news:ffc259aa.0504260640.56debbb3 (AT) posting (DOT) google.com...
Hello,
.... |
|
|
| Back to top |
|
 |
Riki Wiki Google Guest
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|