brunomsilva
asked on
Urgent - Error 525 with Crystal Reports
Hi,
i have developed an application which uses the Crystal Reports Print Engine v8.5 and it works fine in every computer i have Delphi installed. But when i try to run it on other computers without delphi, it keeps showing the message "error 525: unable to load report". At least one of the other computers has Crystal Reports too, so i don't have a clue of what the problem is. Any idea of what the problem might be? this is very urgent!
Here's the code:
Crpe1.ReportName := mainform.report;
crpe1.WindowParent := self;
Crpe1.Output := toWindow;
if mainform.actCrystal then
begin
Crpe1.Tables.Propagate := True;
Crpe1.Tables[0].name := empresa+'.mdb';
crpe1.Tables[0].Path := path;
crpe1.Tables[0].Password := 'ARTEREC';
end;
crpe1.DiscardSavedData;
Crpe1.Execute;
Kind regards,
Bruno Silva
i have developed an application which uses the Crystal Reports Print Engine v8.5 and it works fine in every computer i have Delphi installed. But when i try to run it on other computers without delphi, it keeps showing the message "error 525: unable to load report". At least one of the other computers has Crystal Reports too, so i don't have a clue of what the problem is. Any idea of what the problem might be? this is very urgent!
Here's the code:
Crpe1.ReportName := mainform.report;
crpe1.WindowParent := self;
Crpe1.Output := toWindow;
if mainform.actCrystal then
begin
Crpe1.Tables.Propagate := True;
Crpe1.Tables[0].name := empresa+'.mdb';
crpe1.Tables[0].Path := path;
crpe1.Tables[0].Password := 'ARTEREC';
end;
crpe1.DiscardSavedData;
Crpe1.Execute;
Kind regards,
Bruno Silva
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
how did you install crpe32.dll?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi,
i actually copied it into the windows\system32 folder but i didn't register it. maybe that's the problem, i will try registering it and check if the error still ocurrs.
Ewaldl, if i discard saved data there, won't it try to look for the old database instead of the new one?
kind regards,
bruno silva
i actually copied it into the windows\system32 folder but i didn't register it. maybe that's the problem, i will try registering it and check if the error still ocurrs.
Ewaldl, if i discard saved data there, won't it try to look for the old database instead of the new one?
kind regards,
bruno silva
in this context the discardsaveddata just means that any data, that could be saved with the report will be lost. then you specify what database you want to connect to.
if you exceucted discardsaveddata after having set the changes then the discardsaveddata would wipe out the changes you have just done
if you exceucted discardsaveddata after having set the changes then the discardsaveddata would wipe out the changes you have just done
ASKER
cheers,
bruno