|
-
Dec 6th, 2007, 01:45 AM
#1
Thread Starter
Hyperactive Member
Avoid reprinting same data CR-XI
I have a report which consists of filtered Parametric data on certain Date... now i want to change the field value of the data from 0 to 1 once i have taken the prints of these data in order to avoid reprinting the same data again.
How can i change the data in the database from the Crystal Reports? If it is not possible through Crystal Reports then how do i pass the Parameter query from a DataTimePicker control in the VB2005 form ?
Please help me !
-
Dec 6th, 2007, 08:49 AM
#2
Lively Member
Re: Avoid reprinting same data CR-XI
Always a bit dangerous to follow this path. There are going to be requests for re-prints and stuff is going to get lost etc. Might be better to use a date (or some other requirement) as a parameter to determine what needs to be printed
-
Dec 7th, 2007, 04:04 AM
#3
Thread Starter
Hyperactive Member
Re: Avoid reprinting same data CR-XI
I have to do this no matter what, as this is my client's instructions which i have to follow. Moreover, the situation demands this provision. Can you tell me how can i change the field value in the database once i have taken the prints ?
-
Dec 7th, 2007, 04:58 PM
#4
Lively Member
Re: Avoid reprinting same data CR-XI
Does this mean that if your user only views the report but DOES NOT print the report that you do not want to update the database?
Working in VB2005 and SQL2005
-
Dec 8th, 2007, 04:59 AM
#5
Thread Starter
Hyperactive Member
Re: Avoid reprinting same data CR-XI
I cannot understand your last post. Here is what i want... It is only after taking Prints, i want to update the database. I dont want to update the database on viewing the report.
-
Dec 9th, 2007, 11:43 PM
#6
Re: Avoid reprinting same data CR-XI
Crystal Reports only reads data, never update it.
I would follow the next steps in my application
1.- Select data (saving it in a tmp if you want)
2.- Print selected data
3.- Ask user if printed ok and accept to mark the selected data as already
printed
4.- Update the original data as printed reading the selected data
-
Dec 11th, 2007, 05:13 PM
#7
Lively Member
Re: Avoid reprinting same data CR-XI
 Originally Posted by jggtz
Crystal Reports only reads data, never update it.
I would follow the next steps in my application
1.- Select data (saving it in a tmp if you want)
2.- Print selected data
3.- Ask user if printed ok and accept to mark the selected data as already
printed
4.- Update the original data as printed reading the selected data
Good thinking on this one - must admit i been racking my brains and couldnt think of anything.
Working in VB2005 and SQL2005
-
Dec 12th, 2007, 05:29 AM
#8
Thread Starter
Hyperactive Member
Re: Avoid reprinting same data CR-XI
How do i select the data from the database from a dynamic parameter assigned to the report ?
How to perform step no: 3 ? How would my application know that the data has been printed ?
-
Dec 12th, 2007, 11:27 AM
#9
Re: Avoid reprinting same data CR-XI
Considering the information provided1.-You can select the data applying to some data extraction query, the same dynamic parameter assigned to the report
3.-The user would know that the data has been printed ok
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|