Crystal Error - File Not Found
Hi all this one is kind of weird,
I thought Crystal's run time licenses were free? Here is my code:
Set Appn = CreateObject("CrystalRunTime.Application")
Set cReport = Appn.OpenReport("D:\Programming Projects\Work Proposal\Take4\Reports\ViTriage.rpt")
Then if I add a watch value to cReport and expand the properties, I get a message box from Crystal that says that this api is not free and that I need to purchase it. I then get a:
"Error opening File
File could not be found in 'tblViHeader', at location 'tblViHeader'"
The file does exist at that location. Is this some type of weird legitimate error or is this because I do not have the correct version of craxdrt.dll or crviewer.dll. Or, is this because of my code?
What is weird is that the code that references tblViHeader comes a few lines down.
It was working and it just all of a sudden stopped.
Any ideas?
Thanks in advance!
Bob
Question, maybe tricky, maybe not!
I want to create a report with the following in mind:
Code:
Table Layout
ProjectID | ComponentID | Stack | Level | Position
----------------------------------------------------------------
10001 | 401 | 0 | 0 | 1
10001 | 402 | 0 | 0 | 3
10001 | 403 | 0 | 1 | 1
10001 | 404 | 0 | 1 | 1
10001 | 405 | 0 | 2 | 0
10001 | 406 | 0 | 2 | 1
10001 | 407 | 0 | 2 | 3
10001 | 408 | 0 | 2 | 4
10001 | 409 | 0 | 3 | 2
10001 | 410 | 1 | 0 | 1
10001 | 411 | 1 | 0 | 3
The Previous table should generate the following output:
Code:
Project ID: 10001
----------------------------------------------------------------------
409
405 406 407 408
403 404
401 402
______________________________
410 411
----------------------------------------------------------------------
I am using crystal reports version 7.0 professional. I cannot use the cross tabs to create this report because of limitations I found with it.
What I need to know, is given the table shown above, how can I position the Component on my report based on the Stack, Level, and Position fields of the records retrieved. The output must resemble that shown above.
I use C++, ADO, and MS Access is the database.
Mike B
Re: Crystal Error - File Not Found
I think this is not a code error, reinstall yours crystal report again, make sure the related custom options are checked correctly.
yours,
k.Babu
Quote:
Originally posted by Delamater
Hi all this one is kind of weird,
I thought Crystal's run time licenses were free? Here is my code:
Set Appn = CreateObject("CrystalRunTime.Application")
Set cReport = Appn.OpenReport("D:\Programming Projects\Work Proposal\Take4\Reports\ViTriage.rpt")
Then if I add a watch value to cReport and expand the properties, I get a message box from Crystal that says that this api is not free and that I need to purchase it. I then get a:
"Error opening File
File could not be found in 'tblViHeader', at location 'tblViHeader'"
The file does exist at that location. Is this some type of weird legitimate error or is this because I do not have the correct version of craxdrt.dll or crviewer.dll. Or, is this because of my code?
What is weird is that the code that references tblViHeader comes a few lines down.
It was working and it just all of a sudden stopped.
Any ideas?
Thanks in advance!
Bob
Re: Question, maybe tricky, maybe not!
Hi friends,
Create cross tab query in access itself, then you can directly use the query in crystal reports design time.
yours,
k.Babu
Quote:
Originally posted by MikeB
I want to create a report with the following in mind:
Code:
Table Layout
ProjectID | ComponentID | Stack | Level | Position
----------------------------------------------------------------
10001 | 401 | 0 | 0 | 1
10001 | 402 | 0 | 0 | 3
10001 | 403 | 0 | 1 | 1
10001 | 404 | 0 | 1 | 1
10001 | 405 | 0 | 2 | 0
10001 | 406 | 0 | 2 | 1
10001 | 407 | 0 | 2 | 3
10001 | 408 | 0 | 2 | 4
10001 | 409 | 0 | 3 | 2
10001 | 410 | 1 | 0 | 1
10001 | 411 | 1 | 0 | 3
The Previous table should generate the following output:
Code:
Project ID: 10001
----------------------------------------------------------------------
409
405 406 407 408
403 404
401 402
______________________________
410 411
----------------------------------------------------------------------
I am using crystal reports version 7.0 professional. I cannot use the cross tabs to create this report because of limitations I found with it.
What I need to know, is given the table shown above, how can I position the Component on my report based on the Stack, Level, and Position fields of the records retrieved. The output must resemble that shown above.
I use C++, ADO, and MS Access is the database.
Mike B
Crystall report on Win XP
Babu,
I have Crystal Report Ver. 7.00 which runs very nice on Win 2000 but not on Win XP. I am sure Seagete are not stupid to this degree. Do you have a solution to keep it running on Win XP.
Re: Crystall report on Win XP
What problem you face in XP OS, when using crystal report.
yours,
k.Babu
Quote:
Originally posted by camelriding
Babu,
I have Crystal Report Ver. 7.00 which runs very nice on Win 2000 but not on Win XP. I am sure Seagete are not stupid to this degree. Do you have a solution to keep it running on Win XP.
Crystall report on Win XP
In design stage there is no problem. But at run time I get
(Method 'Action' of object 'CrystalCtl' failed)
Run-Time Error '-2147417848 (80010108)'
Thanks in advance
Re: Crystall report on Win XP
If you can able to view print preview at design time, that it may be crystal report control problem, try after reinstall the crystal report
yours,
k.Babu
Quote:
Originally posted by camelriding
In design stage there is no problem. But at run time I get
(Method 'Action' of object 'CrystalCtl' failed)
Run-Time Error '-2147417848 (80010108)'
Thanks in advance
Crystall report on Win XP
Babu,
Sorry about what I said in the previous message. In design time I get some errors. The current error I got today is:
CRPaige library CRPaige(32).DLL cannot be found.
It should be on the path.
I search all the hard disk for this file but it does not exist.