Click here to Skip to main content
15,884,873 members
Home / Discussions / C#
   

C#

 
AnswerRe: Creating CR Parameters Programmatically Pin
Skymir27-Mar-09 8:06
Skymir27-Mar-09 8:06 
GeneralRe: Creating CR Parameters Programmatically Pin
lostspirits27-Mar-09 8:25
lostspirits27-Mar-09 8:25 
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 
Actually the answer is a recordset, use the data from your database, cycle through the records to calculate the other fields. Then create a new recordset, recordset.fields.append all the columns you need and recordset.addnew for each row. You'll have to use a field definition file for the report since you won't be connecting it to the database though.

The other option is to calculate the fields and insert them into a temporary table, then select off the table. The issue there is to handle concurrent reports and stale data if the report reruns.

If it's possible, the best solution would be to create stored procedures that produce the calculated values, and put them into the select query for the report. Not knowing how your fields are calculated though, that might be more trouble than it's worth, especially if you'd still have to duplicate the function in code as well.

Ah, just looked up SQLite, haven't used it myself. Doesn't look like a stored procedure is going to happen. Also, from the bit I glanced over, a temporary table might have a bit of a performance hit depending on how big it is.

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

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 
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 

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.