Click here to Skip to main content
15,904,348 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataSet -> Comma/Tab delimited Pin
MrEyes11-Jul-03 5:33
MrEyes11-Jul-03 5:33 
GeneralRe: DataSet -> Comma/Tab delimited Pin
Anonymous11-Jul-03 11:22
Anonymous11-Jul-03 11:22 
Generalgrid control Pin
retZ7-Jul-03 4:50
retZ7-Jul-03 4:50 
GeneralRe: grid control Pin
Not Active7-Jul-03 6:08
mentorNot Active7-Jul-03 6:08 
GeneralRe: grid control Pin
retZ7-Jul-03 11:01
retZ7-Jul-03 11:01 
GeneralNeed to Export Records to Remote Terminal Pin
Leon van Wyk7-Jul-03 4:04
professionalLeon van Wyk7-Jul-03 4:04 
GeneralRe: Need to Export Records to Remote Terminal Pin
Heath Stewart7-Jul-03 10:01
protectorHeath Stewart7-Jul-03 10:01 
GeneralRe: Need to Export Records to Remote Terminal Pin
leppie7-Jul-03 16:20
leppie7-Jul-03 16:20 
GeneralAdding to a dataTable Pin
totig7-Jul-03 3:33
totig7-Jul-03 3:33 
GeneralRe: Adding to a dataTable Pin
perlmunger7-Jul-03 11:28
perlmunger7-Jul-03 11:28 
Generalcomponent configuration. Pin
Darkmatter7-Jul-03 3:20
Darkmatter7-Jul-03 3:20 
GeneralRe: component configuration. Pin
perlmunger7-Jul-03 11:43
perlmunger7-Jul-03 11:43 
GeneralWriting to the Output | Debug window Pin
albean7-Jul-03 2:51
albean7-Jul-03 2:51 
GeneralRe: Writing to the Output | Debug window Pin
Roland Bär7-Jul-03 3:13
Roland Bär7-Jul-03 3:13 
GeneralCrystal Reports 'Command' SetDataSource Pin
krisp7-Jul-03 1:49
krisp7-Jul-03 1:49 
I wrote my own command in Crystal Reports 9, I want to set the DataSource at runtime.


StaffHoursReport staffHoursReport = new StaffHoursReport();

foreach( Table t in staffHoursReport.Database.Tables )
{
t.SetDataSource( Db.DataSource );
}


Where Db.DataSource is a static string. It works for all the tables in my Report but not for the Command I made. I also tried

t.Location = Db.DataSource;

but this works for all the tables but throws an exception on any Commands. The SetDataSource does not throw any exceptions but it prompts for the database path when the report is being created for display. And then it says log in failed if i type in the path to the database.

The only way this report works is if I have the database in the path specified in the report designer. But this is no good, it will be on different machines all the time.

Please help, thanks alot.
GeneralArrays Pin
_cancer_7-Jul-03 1:21
_cancer_7-Jul-03 1:21 
GeneralRe: Arrays Pin
perlmunger7-Jul-03 11:58
perlmunger7-Jul-03 11:58 
GeneralRe: Arrays Pin
PeterMoon29-Jan-08 17:53
PeterMoon29-Jan-08 17:53 
GeneralC# COM+ Client/Server Pin
SpudgunDoogal7-Jul-03 1:05
SpudgunDoogal7-Jul-03 1:05 
GeneralRe: C# COM+ Client/Server Pin
Daniel Turini7-Jul-03 1:21
Daniel Turini7-Jul-03 1:21 
GeneralRe: C# COM+ Client/Server Pin
SpudgunDoogal7-Jul-03 1:38
SpudgunDoogal7-Jul-03 1:38 
GeneralRe: C# COM+ Client/Server Pin
Philip Fitzsimons7-Jul-03 2:53
Philip Fitzsimons7-Jul-03 2:53 
GeneralRe: C# COM+ Client/Server Pin
Giles7-Jul-03 3:05
Giles7-Jul-03 3:05 
GeneralRe: C# COM+ Client/Server Pin
SpudgunDoogal7-Jul-03 3:10
SpudgunDoogal7-Jul-03 3:10 
GeneralCounting a datatable Pin
totig7-Jul-03 0:46
totig7-Jul-03 0:46 

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.