Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating CR Parameters Programmatically Pin
Skymir27-Mar-09 10:24
Skymir27-Mar-09 10:24 
GeneralRe: Creating CR Parameters Programmatically Pin
lostspirits27-Mar-09 10:58
lostspirits27-Mar-09 10:58 
GeneralRe: Creating CR Parameters Programmatically Pin
Skymir27-Mar-09 12:33
Skymir27-Mar-09 12:33 
GeneralRe: Creating CR Parameters Programmatically Pin
lostspirits27-Mar-09 12:36
lostspirits27-Mar-09 12:36 
GeneralRe: Creating CR Parameters Programmatically Pin
lostspirits27-Mar-09 12:48
lostspirits27-Mar-09 12:48 
GeneralRe: Creating CR Parameters Programmatically Pin
Skymir27-Mar-09 14:43
Skymir27-Mar-09 14:43 
GeneralRe: Creating CR Parameters Programmatically Pin
lostspirits28-Mar-09 3:14
lostspirits28-Mar-09 3:14 
GeneralRe: Creating CR Parameters Programmatically Pin
Skymir28-Mar-09 11:09
Skymir28-Mar-09 11:09 
The basics of creating the definition file are here on page 92[^]

This thread[^] should give you an idea how to connect the recordsource. There's a pdf file from business objects somewhere that explains each of the steps in more detail. It's kind of a pain to find though. Pretty much it's just looping through the report object and assigning the record source of each report/subreport to be the recordset you already created for it from whatever source. Don't get too crazy with the sub reports though, Crystal gets flaky when there's more than one subreport to assign a recordset to. We had that problem when trying to deal with application roles on sql2005 (Crystal doesn't support them).

Pretty much the big things to watch are that you match up the field names and the order they're in. I forget if they're case sensitive, but probably best to match it up, just to make sure. The definition file itself is just a text file with a list of field names, so you can edit it in notepad, then verify the database from inside of crystal to match things up. The data types are separated by a single tab and you can put a default value one tab after that. For instance

ID Number 99999999
Name String XXXXXXXXXXXXXXXX
Position String XXXXXXXXXXXXX
etc, etc..

Hope this helps.

The true man wants two things: danger and play. For that reason he wants woman, as the most dangerous plaything.

QuestionRegistry Edit By c# on Vista OS problem Pin
Tridip Bhattacharjee27-Mar-09 2:26
professionalTridip Bhattacharjee27-Mar-09 2:26 
AnswerRe: Registry Edit By c# on Vista OS problem Pin
Luc Pattyn27-Mar-09 2:36
sitebuilderLuc Pattyn27-Mar-09 2:36 
QuestionAdd custom script commands to AVI files Pin
Richard Satherley27-Mar-09 2:16
Richard Satherley27-Mar-09 2:16 
Questiondynamically displaying an image in a menu? Pin
Megidolaon27-Mar-09 1:53
Megidolaon27-Mar-09 1:53 
AnswerRe: dynamically displaying an image in a menu? Pin
Deresen27-Mar-09 2:17
Deresen27-Mar-09 2:17 
AnswerRe: dynamically displaying an image in a menu? Pin
Jimmanuel27-Mar-09 11:28
Jimmanuel27-Mar-09 11:28 
GeneralRe: dynamically displaying an image in a menu? Pin
Megidolaon29-Mar-09 20:22
Megidolaon29-Mar-09 20:22 
QuestionVideo player with all aspects like play, Pause, Stop, Rewind, Slow rewind, Forward, Slow forward Pin
mohanraj kaliappan27-Mar-09 1:28
mohanraj kaliappan27-Mar-09 1:28 
QuestionUninstalling Drivers Pin
queries36527-Mar-09 1:01
queries36527-Mar-09 1:01 
Questionstart text from required word Pin
Sajjad Leo27-Mar-09 0:06
Sajjad Leo27-Mar-09 0:06 
AnswerRe: start text from required word Pin
Deresen27-Mar-09 0:28
Deresen27-Mar-09 0:28 
AnswerRe: start text from required word Pin
Tom Deketelaere27-Mar-09 0:29
professionalTom Deketelaere27-Mar-09 0:29 
GeneralRe: start text from required word Pin
vinodkrebc27-Mar-09 1:08
vinodkrebc27-Mar-09 1:08 
RantRe: start text from required word Pin
Deresen27-Mar-09 1:21
Deresen27-Mar-09 1:21 
GeneralRe: start text from required word [modified] Pin
dan!sh 27-Mar-09 1:34
professional dan!sh 27-Mar-09 1:34 
GeneralRe: start text from required word Pin
Sajjad Leo27-Mar-09 2:24
Sajjad Leo27-Mar-09 2:24 
AnswerRe: start text from required word Pin
King Julien27-Mar-09 0:30
King Julien27-Mar-09 0:30 

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.