VS2008 CR basic Data not saving with report
I have a Windows forms app with a CR developed in VS2008. The report displays correctily in the report viewer control and I also save it as a .rpt file. When I open this file in Crystal Reports Viewer 2008 I get the error that there is no saved data. The data source for the report is a DataView. Here is my code:
' set sort key of Rpt1Ds view
If Me.radRptSeqn.Value = "A" Then
sortKey = "Account ASC, Contract ASC"
ElseIf Me.radRptSeqn.Value = "C" Then
sortKey = "Contract ASC"
ElseIf Me.radRptSeqn.Value = "N" Then
sortKey = "Surname ASC, Contract ASC"
End If
AddRpt1Summary()
Dim dv1 As DataView = New DataView(Me.Rpt1Ds.Tables(0), "", sortKey, DataViewRowState.CurrentRows)
dv1.Table.TableName = "RRIFYePaymentsTable"
CRpt1.SetDataSource(dv1)
Dim dv2 As DataView = New DataView(Me.Rpt1Ds.Tables(1), "", "TotPymtFreq ASC", DataViewRowState.CurrentRows)
dv2.Table.TableName = "RRIFYePaymentsSummaryTable"
CRpt1.Subreports.Item(0).SetDataSource(dv2)
CRpt1.SetParameterValue("CUName", cuname)
CRpt1.SetParameterValue("SystemDateOR", MainForm.MySystemDate)
CRpt1.SetParameterValue("AccrualDate", Me.dtpIntAcrlDate.Value)
CRpt1.SetParameterValue("RptTitle", "RRIF ANNUAL PAYMENTS")
CRpt1.SetParameterValue("IsDetailed", Me.chkRptDetail.CheckedValue)
If Me.radRptDest.Value <> "F" Then
CRpt1.PrintOptions.PrinterName = Me.cmbPrinter.Text
End If
CRpt1.ReportOptions.EnableSaveDataWithReport = True
CRpt1.ReportOptions.EnableSaveSummariesWithReport = True
rptViewer.CrystalReportViewer1.ReportSource = CRpt1
rptViewer.CrystalReportViewer1.Zoom(1) ' set to page width
rptViewer.Show()
If Me.radRptDest.Value = "F" OrElse Me.radRptDest.Value = "B" Then
fileName = "RrifYePymts" & dateText & ".rpt"
Me.RptFullPath = SaveRSPReportFile(fileName, CRpt1)
End If
I'm saving the .rpt file in the second to last line of my code. Here is the code for that function:
Shared Function SaveRSPReportFile(ByVal fileName As String, ByVal rpt As ReportDocument) As String
Dim pathName As String
Dim fileFullPath As String
Dim nbs As New NBShared
pathName = My.Settings.ReportDir & "\reports\RSP"
fileFullPath = pathName & "\" & fileName
nbs.SaveRptDoc(pathName, fileFullPath, rpt)
nbs.Finalize()
SaveRSPReportFile = fileFullPath
End Function
This has worked with other reports. The thing that is different about this report is using a view to sort the data. I have other reports with a subreport that save the data too.
Maureen
Similar Messages
-
Print Preferences - not saving with report in CR2008
I have CR2008 FP 2.7 when I go to print --> preferences and set things like the paper output size and set it to staple the pages these settings do not get saved with the crystal report. The next time I go into designer all of these changes are gone. Setting the print style to single or double sided does save with the report.
Does anyone know why it is not saving all of the printing preferences?
Thanks,
joshAs this is happening in the designer, moved to Crystal Reports Design forum.
Ludek -
Manual Layout data not saving to trx cube
Hello BPS Experts,
I am trying to load some data using manual planning. I open the layout and enter the values and press save. I do not find any requests / data in the cube.
case 1) No error / warning
I do not get any error during the save function in the layout. What could be the possible step I am missing. What could be the root cause..
case 2) message - No data to be saved
sometimes i get a message 'No data to be saved'. And that data is not getting saved. What could be the reason of this message.
Regards,
BWer
Message was edited by: BWerHello BWer,
One of the main reasons for data not saving from a layout into a Trx cube, is if there is no key figure being updated. The value of the key figure being posted should <> 0.
If you choose the option to display transaction data in your layout, then, only data with key figure values <> 0 will be displayed.
Sunil -
Image Adjustments Not Saved with DNG?
It appears that the adjustments (i.e. all of the work you do to "develop" your pictures) are not saved with the image file. They appear to be saved in the LR Library. So if anything happens to your library, your developing work is gone. I thought my adjustments were saved with the DNG, but this does not appear to be the case.
So, to be sure that my work is saved with the image, it appears that the processed files must be saved to a different format like JPG, TIFF, or PSD. With JPG quality is lost, and your ability to edit is severely compromised. With PSD and TIFF, you have another copy of extremely large files to deal with.
Is my understanding correct?
What are your suggestions to deal with this?
Thank you.Geoff and John,
Thank you very much.
You confirm the critical point that your work is saved in the Library, and the Library must be closely supervised and backed up.
Beside my on-site backups, I set up a Stuffit schedule to back up a daily version of my library. My current library is 57.6MB and Stuffit compresses it to 8.7MB and automatically FTPs it to my web site for archiving.
I found that my 2GB file of previews is unnecessary, since my computer creates new previews almost as quickly as it reads the preview file, at least on a folder basis. So, I removed my preview files, and I have them saved for only one day in prefrences.
For my DNGs, beside my on-site backups, I create a DNG with the RAW (NEF) file embedded and back them up on my web site. Then I create DNGs with Adobe DNG converter, without embedded RAWs (LR embeds the RAWs)to use for my working files.
One of the reasons I decided to use DNGs is to avoid having separate XMP files. However, it sounds like you can export the XMP to the DNG without creating separate XMPs. I'll look in to that. I assume that exporting the XMPs to the DNGs will allow me to open them directly in CS2 (not by exporting from LR) or other programs with my adjustments intact. This would solve the problem of losing adjustments if the Library becomes dysfunctional.
Thanks again.
Eric -
Debit/Credit Shift not working with report painter
Dears,
We have defined debit/credit shift while defining financial
statement version. This functionality working well with F.01 however its not
working with report painter results. any help will be highly appreciated
Regards,
FRHi Dave,
I have gone back to the books (JP Terry's "Creating Dynamic Forms with Adobe LiveCycle Designer") and think we can improve on things...
var oFields = xfa.resolveNodes("ViolationsText[*].DebitVal"); // looks to resolve the repeating rows (I think)
var nNodesLength = oFields.length; // assigns the number of rows to a variable
var sumTotal = 0; // this is a temporary holding variable for the total, during the loop
for (var i = 0; i < nNodesLength; i++) // this loops through as previous example
if (oFields.ViolationsText[i].resolveNode("DebitVal").rawValue == "C")
sumTotal = "";
i = nNodesLength; // stops the loop
else
sumTotal += oFields.ViolationsText[i].resolveNode("DebitVal").rawValue;
this.rawValue = sumTotal;
This would go in the calculate event of your Total Debit Points field. I would be amazed if it worked first time. I haven't run through LC. Give it a lash!! (a try!!)
Good luck,
Niall -
Preview "this layered Photoshop file was not saved with a composite image" error message?
hi, i get this message:
in preview, when i try to open a .psd file by double-clicking it:
"this layered Photoshop file was not saved with a composite image"
is there any program that will open this file, that came with my new iMac?
OS 10.9.5
thanks!
ps. when i clicked all through help on my Mac, it would not tell me what i needed to know.
So, is this forum the best way to find actual useful info?Thank you Chris,for the correct answer - Best, Bob
-
Bulk save as psd file not saved with Maximize Compatibility selected in preference
I want to do a "bulk save as" for psd files that were not saved with Maximize File Compatibility selected in Preferences. I'm trying to import those files into LR5 but I get an error message. Or is there a work around for resolving this issue? I have both PS CS6 and PS CC. Also Bridge for both. I've just subscribed to LR5.
LR does not support Layers, PSD files may have layers so you may have a problem using LR to do what you want to do.
Set your Photoshop Preferences to always save with Max Compatibility.
Record a save action one step menu File>save.
Then use Adobe Bridge menu Edit>Find to find all your PSD files.
Then select all and use menu Tools>Photoshop>Batch and if your lucky and don't catch an Adobe Bug Photoshop will start and the Batch dialog will open, You can the set the Save Action Set and the Save Action all the PSD selected in the Bridge should open and saved.
I cancelled the search short here the search for all psd files could take a very long time and did not run the batch.
You will have a better chance not catching an Adobe bug if Photoshop is not up and running when you use the here. Bridge may try to start a different version of Photoshop then the one running when you use menu tools>Photoshop>Batch. Bridge CC was updated to start CC 2014 there is no bridge CC 2014.
This site scale image poorly you can scale them if you view them in a new tab or window. -
0FC_OP_01 extractor issues- DFFKKOPBW data not matching with
Hi All
We have an issue with the extractor 0FC_OP_01. Our business is comparing the values in
R/3 report u2013 G/L Account Balance Display (t-code S_ALR_87012277) with the
Open Items by GL Account report in BW .(actually these values in the BW report are coming from DFKKOPBW table in R/3) .
But since august, the R/3 G/L account balance report is not matching with the DFKKOPBW table balances. So bottom line the extractor 0FC_OP_01 is doing something wrong when populating the DFKKOPBW table which is causing these two reports to be out of balance
Did anybody face this kind of issue before? Please Advise.
FYI : We are following the same procedure to populate the DFKKOPBW table as in the below article.
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a9996115-0b01-0010-b2b2-d9de0170a425;jsessionid=%28J2EE3417800%29ID0001499250DB01896329908162586522End
Thanks
KPKIn my case the Cube/PSA data itself is not matching with the R/3 report data.
Basically we run a job in R/3 in t-code FPBW with a Date id and Indentification. This job will pull the entries from base table DFKKOP into DFKKOPBW table .Then FRom this DFKKOPBW table data is loaded into PSA/Cube.
Here in my case the data in table DFKKOPBW itself is not matching with the R/3 report - G/L Account Balance Display (t-code S_ALR_87012277)) .
I am following the same procedure to run the JOb in T-code FPBW to populate the DFKKOPBW table as listed in the document at the above link. Moreover this difference in balances is occuring only starting from August ..Till July the balances in DFKKOPBW tally with the R/3report.
Please advise ..
Thanks
KPK -
Post Author: SparrowHawk
CA Forum: Data Connectivity and SQL
I'm developing a dB application in VB6 using the Developers CRXI. For the problem I'm having with the report, I've got a discrete table in the dB which holds only 1 record. The report gets it's data from that table. Before calling the report, I am saving all the data from the VB form to the table and then calling the report. Initially, the report acts fine, but if I close the report, go back to the VB form, make changes, save the data to the table once again and then reopen the report, the old data remains. More often than not I have to click the refresh button TWICE on the report in order to get the updated data to appear. Sometimes it simply won't update. I've tried to force the refresh at runtime without any luck. The save data with report is NOT checked. And, because I know an Access dB can take a bit of time to "settle", I've waited for as long as 5 minutes with the report visible before I click the refresh button. It still takes TWO tries and even then sometimes will not update. Is there a way to solve this, or must I pass the variables to the report at runtime? Since there are upwards of 100 discrete variables to pass (it's an invoice form), I'd prefer not to have to do this if at all possible.I've posted this on other forums without any replies but this can't be that hard to do. Thanks,KenHi,
I do face the same issue. Live data is not getting updated in the BAM report.
My scenario: BPEL generates sensors for the response message variabe and data is inserted into JMS Topic.
Created an Enterprise Message Source to poll the data fromo JMS Topic.
In design studio -> configured Oracle BAM Enterprise Message Reciever to revceive data from Enterprise message source and send the data to BAM using Oracle BAM Insert Sink.
As mentioned in one of the post, updated below changes in Plan Setting in BAM administrator for the report.
Completion Action: Always restart on completion.
Failiure Action: Alway restart on failiore.
Max restart frequency: No limit on frequency.
Monitor Service: Oracle BAM Plan Monitor.
Did I missed any configuration to be made for the reports to get updated.
Please someone throw some light on this.
Regards
Jude. -
WBS dates not update in report
Dear All
I have created Project through Sales Order. Delivery date in sales order is end date of project
All activities are link (established relationship) one network and assigned to WBSEs in project.
I have also mentioned the normal duration for each activity in network.
I am doing scheduling of these activities with following specific requirements -
1) Backward scheduling is to be done...start date for network can be either today's date or it can also be in the past...end date for completion of network is fix.
2) Scheduling is to be done on entire project, the dates should be determined by the system for activities and should be transfered to the respective WBS elements (i.e. network determined dates)
I have maintained following config settings -
Scheduling Parameters -
Adjust date - 2 (do not adjust)
Scheduling type - 2 (Backward)
Automatic scheduling - Ticked
Reduction strategies - All opern in the order
Parameters of Scheduling -
Backward, network det date, adjust basic dates (tick), Automatic scheduling (Tick)
when I run scheduling for entire project its gives result properly but in report CNS41 my dates for ErlStrt(B) F and LtStrt (B) for WBS seen ##.##.#### .
Do I need to change anything in the config???
RegardsHi Ahemad
The issue was same with all reports. The date was display properly in WBS under dates tab or even I able to view report from CJ20N through Project Planning board (gantt chart) by selection of dates field. I only get problem under to column ie ErlStrt(B) and LtStrt (B) where dates was reflected ##.##.#### only for WBS but activities under same WBS dates shown properly.
Regards -
Inventory data not matching with R/3
Hi,
In R/3 production we have the data from 1999-Till date.From 1999-2004 Data was archieved in R/3 system.So we have two years live data in the R/3 production.
We have filled the setup tables and extracted the Inventory data then loaded into 0IC_C03 Cube.
But the values in BW report from 0IC_C03 is not matching with the values in R/3 report.
1.What could be the reason?
2.If we need to extract the archieved data from R/3 what are the steps we need to do?.
Pls help us with your suggestions.We have followed as per the How to handle inventory managment document.
The quanity value is matching between R/3 and BW.But the Valuated Stock Value is not matching for some of the materials.For the current period it showing the right value(for ex.if we check for 12th Month).
But If we check the material for old months like October,Aug the value of valuated stock value is not matching with R/3 for some of the materials.
In RSDV validity table date maintained from 1999-Dec'200.
We are using the standard business content cubes and update rules.Is there any change needs to be done in update rules for 0IC_C03 cube to get the right values for all the materials?..
Pls help with your inputs.
Thanks
Soujanya -
Planning area data not matching with backup cube / PSA
Hi friends,
while loading data from planning area to backup cube , for the key figure ( result of a macro),the data in planning area is not matching with PSA as well as with cube.
At the same time Data is matching at total level but not at disagregated level. And many times it disagregate in equal Proportion in cube/psa.
Pls its urgent.
Pts for sure.
Vishal.
9326179903make sure you have replicated the extraction of the data source. This is needed to ensure your backup cube gets the current data as in the planning area
if you got to /SAPAPO/SDP_EXTR then you can see this button
you can set this up as a program scheduled to run before the updation of your cube
As for the disaggregation, test at what level you are choosing your characteristic? ( i suppose you can choose the level)
Are you extracting at a detailed level or at the aggregated level
Is your macro saving the data into a Keyfigure or is it an auxilliary KF or something? -
0IC_C03 Data Not Showing in Report
Dear Friends,
We are using SAP BW 3.5. I have a problem with 0IC_C03 Cube.
Problem is:
Data is transfered to BW i can see the data from Cube --> Contents.
But when i create a report i am unable to see only that particaluar data which dont
have storage location.
Can anybody help me why its not showing that specific data which dont
have storage location.
and on other hand we can see the data from Cube -->Contents
Regards,
malikYes i am taking care of marker.
all data is ok excep 13 records which have no storage location.
and only these 13 records are not showing in the report and thats why
my stock is not tele with R/3.
Any other hint.
regrds,
Malik -
GL Data not available on report
Hi All,
I have a report which has been working fine. The report was based on cost for controlling cube which is based of WBS elements(cost).
Now the report has been added with a column which gets its data from GL cube. I have added the 2 cubes in a multiprovider but cannot see the data for the column from GL.
This same GL cube is being used on multiple other queries and has no problem.
What could be the reason for the GL data not being displayed. I have also restricted to the respective infoproviders.
Appreciate all the help.
Kind Regards
Jameshi,
first of all check in tcode LISTCUBE for MP if you are getting data for any of the columns from GL cube.
also check the characteristics from controlling cube and GL cube which are common and whether they have the same length , data types and values. The join at the MP level may not be working correctly which is why the data may be missing.
regards,
Arvind. -
Forms built with 9 not saving with Adobe reader X
I have many computers that are running Adobe reader X. when they are attempting to save a form that was built in Adobe 9.x, a msg dictates that they are unable to save file. How can I rectify this without downgrading my Adobe to 9 accross our system.
Downgrading to Adobe Reader 9 will not solve the problem because the issue is Reader was designed not to save completed forms.
You can use Acrobat 9 to add Extended Reader Rights to PDF forms and that enabled copy can be saved with form data by Acrobat X.
You will be restricted to 500 returned forms for each form. Above that limit you should contact Adobe about their LiveCycle server product.
Maybe you are looking for
-
Problems after upgrading(degrading) to IOS5
After upgrading to IOS5, numerous applications are crashing, now I have no wifi...I am not in a position to keep docking the unit to get it fixed and keep it fixed.. Very dissapointed in this upgrade (degrade)....
-
Cannot connect when not granting acces to akamaitechnologies!!!
Hi, Since a few days my firewall asks me that I have to grant access to the infamous akamaitechnologies(a194-109-192-7.deploy.akamaitechnologies.con) when starting sqldeveloper. If I refused I cannot connect!!!????. Before I have to grant access to b
-
When i was waiting for an hour for itunes to grading my 2nd generation ipod touch to a 4.2.1 and it was about done, it suddenly said the network connection timed out and that made the upgrading a fail. Why does it do that? and what does it mean?
-
Import screen field value into search help assigned to a different field
Hi, I have created an elementary search help based on a custom DDIC table ZSH_SHHLDR. Dialog Type: Dialog depends on set of values, search help parameters: Parameter Import Export LPos SPos SDis FOLIO
-
Sandisk SD Card won't download images
A friend of mine is having trouble opening Raw images he shot on D800 Nikon. They won't open on his Macbook Pro, but I can open them on my IMac. Any advice?