Click here to Skip to main content
15,891,695 members
Home / Discussions / Database
   

Database

 
GeneralMaster-Detail Question! Pin
EastDragon4-Sep-03 16:50
EastDragon4-Sep-03 16:50 
GeneralSQLDMO Pin
yyf3-Sep-03 8:53
yyf3-Sep-03 8:53 
GeneralRe: SQLDMO Pin
Terry Denham5-Sep-03 4:30
Terry Denham5-Sep-03 4:30 
GeneralRe: SQLDMO Pin
yyf5-Sep-03 8:31
yyf5-Sep-03 8:31 
GeneralRe: SQLDMO Pin
Terry Denham7-Sep-03 9:16
Terry Denham7-Sep-03 9:16 
Generalpassing and retrieving date value using ADO Pin
haritadala1-Sep-03 11:57
haritadala1-Sep-03 11:57 
GeneralRe: passing and retrieving date value using ADO Pin
Roger Wright7-Sep-03 10:06
professionalRoger Wright7-Sep-03 10:06 
GeneralDataSets and Crystal Reports 9 Pin
Member 486391-Sep-03 3:08
Member 486391-Sep-03 3:08 
Ladies 'n Gentlemen,

i try to change the DataSets programmatically to a Crystal Report. I set the source with the SetDataSource-method of the CrystalReportViewer.
First at all, i had made a blank report with CR 9 and implements it to my c# project.
My problem now is that the setting of the Dataset takes no effect. Only if I set the datasource in the c# report designer, i can display my chosen information from the table. But therefore I don't need to set any Dataset in my code. If I remove the Datasource in the designer and try to bind the report to a dataset, there is an error such as "no field in formula".
My Dataset is filled (i've tested it). And i don't work with crystal reports for VS .NET 2003 which came up with the VS 2003.

My steps:
1. a blank report (with CR 9) and a windows application project
2. implementing the report in the project
3. filling a dataset with a table from a MS SQL Server (for testing i#ve taken the "pubs" database)
4. load the report soure file to my ReportDocument-instance
5. set unbound fields in my report
6. SetDataSource-method to my loaded report document
7. Set ReportSource to the CrystalReportviewer in my code

That all works fine, but it seems that at runtime the report got no Datasource. Any suggestions? Would be very great.

CsharpThomas alias T. LaBenche



Tom La Benche
GeneralRe: DataSets and Crystal Reports 9 Pin
Braulio Dez10-Sep-03 21:47
Braulio Dez10-Sep-03 21:47 
QuestionWhat is MySQL used for anyways... Pin
Snyp30-Aug-03 15:37
Snyp30-Aug-03 15:37 
AnswerRe: What is MySQL used for anyways... Pin
ZoogieZork30-Aug-03 17:57
ZoogieZork30-Aug-03 17:57 
GeneralRe: What is MySQL used for anyways... Pin
Snyp31-Aug-03 3:06
Snyp31-Aug-03 3:06 
GeneralRe: What is MySQL used for anyways... Pin
Snyp31-Aug-03 3:11
Snyp31-Aug-03 3:11 
GeneralSolution of your IT/Computer science Problems Pin
mindnets29-Aug-03 17:43
mindnets29-Aug-03 17:43 
GeneralQuery Help Pin
sardinka29-Aug-03 9:21
sardinka29-Aug-03 9:21 
GeneralRe: Query Help Pin
basementman5-Sep-03 11:22
basementman5-Sep-03 11:22 
GeneralWHY????? HELP!!!!!! Pin
yyf29-Aug-03 8:20
yyf29-Aug-03 8:20 
GeneralRe: WHY????? HELP!!!!!! Pin
Mike Dimmick4-Sep-03 1:39
Mike Dimmick4-Sep-03 1:39 
GeneralCalculate columns in datagrid Pin
Anonymous29-Aug-03 7:42
Anonymous29-Aug-03 7:42 
GeneralRe: Calculate columns in datagrid Pin
andyharman31-Aug-03 12:28
professionalandyharman31-Aug-03 12:28 
GeneralRun a sql file Pin
yyf29-Aug-03 4:21
yyf29-Aug-03 4:21 
GeneralRe: Run a sql file Pin
Arjan Einbu29-Aug-03 11:35
Arjan Einbu29-Aug-03 11:35 
GeneralRe: Run a sql file Pin
Anonymous31-Aug-03 4:17
Anonymous31-Aug-03 4:17 
GeneralRe: Run a sql file Pin
Mike Dimmick4-Sep-03 1:33
Mike Dimmick4-Sep-03 1:33 
GeneralC ADO Classes How to get a list of tables Pin
King_of_Queens29-Aug-03 3:49
King_of_Queens29-Aug-03 3:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.