I am working in crystal reports.I am facing a problem in giving the Web Interface using the Crystal Reports.
I am writing my query to you:
I have a prototype of a Table
the Fields are
Message Id Auto Number(Primary Key)
Connection Id Number
Device Id Number
Time Stamp Date/Time
Milliseconds Number
Function Number
Non_SECS_Messages Char(10)
Tool_To_from_Product Byte
There are 20 such MEssage Tables.(say tab1...........tab20)
I have to Query for all the Messages from all the Message Tables based on the Connection Id.
Say for ex:
select all the Message from tab1 to tab20 where connection Id =10;
Using "Union" operator I can retrive the data from all the Message Tables.
I have given my SQL expression as
************************************************************************************
select * from tab1 where connection id = 10
union
.........
...............
union
select * from tab2o where connetion id =10
************************************************************************************
here I made the Connection Id field as Parameter field.
And I have created a query using this expression in "Crystal Reports SQL designer."
And using the Report Designer I have created a Report using this Query.
It is giving me the data properly.Now I have to make it Web enabled.
For this I am creating one ADODB connection to the database in which the Query is there and
trying to open a Recordset.
There is one ADORecordset example in samples\ASPSamples\ADORecordset.cpp
but there I have to give the whole query as i am going to retrive data from 20 tables.
(and it is becoming tedious)
Is there any other way in which i can make my report web enabled.
And in the browser it is giving an error ""An Error has occured on the server attempting to access the data source"
I need some suggestions from you regarding this problem.
If my query is not clear I will get back to you again.
Please go through this problem and provide your suggestions.
I am writing my query to you:
I have a prototype of a Table
the Fields are
Message Id Auto Number(Primary Key)
Connection Id Number
Device Id Number
Time Stamp Date/Time
Milliseconds Number
Function Number
Non_SECS_Messages Char(10)
Tool_To_from_Product Byte
There are 20 such MEssage Tables.(say tab1...........tab20)
I have to Query for all the Messages from all the Message Tables based on the Connection Id.
Say for ex:
select all the Message from tab1 to tab20 where connection Id =10;
Using "Union" operator I can retrive the data from all the Message Tables.
I have given my SQL expression as
************************************************************************************
select * from tab1 where connection id = 10
union
.........
...............
union
select * from tab2o where connetion id =10
************************************************************************************
here I made the Connection Id field as Parameter field.
And I have created a query using this expression in "Crystal Reports SQL designer."
And using the Report Designer I have created a Report using this Query.
It is giving me the data properly.Now I have to make it Web enabled.
For this I am creating one ADODB connection to the database in which the Query is there and
trying to open a Recordset.
There is one ADORecordset example in samples\ASPSamples\ADORecordset.cpp
but there I have to give the whole query as i am going to retrive data from 20 tables.
(and it is becoming tedious)
Is there any other way in which i can make my report web enabled.
And in the browser it is giving an error ""An Error has occured on the server attempting to access the data source"
I need some suggestions from you regarding this problem.
If my query is not clear I will get back to you again.
Please go through this problem and provide your suggestions.