Adding a folder to an existing disco report adds unnecessary table joins
Hello,
I have recently created a new disco folder and adding it to existing reports is causing the reports to error out after running for ever. When I had a look at the SQL inspector, what is happening is that a table ( which was already on the report prior to my amendments and is the table my new folder joins to) is being queried twice. When i build the query from scratch using exactly the same folders, this issue does not happen. The users are used to the already existing reports and all they want to do is add extra information from this new folder. It would be a big ask to expect them to build new reports from scratch. Kindly get back to me with any ideas. I am going to try to change my registry settings and see if it makes a difference
No, the new folder is made up of only one table. The table that is being replicated is the underlying table of a folder by nre folder joins to and already exists in my report. This is the scenario: My current report has the personal details and address tables. I am now adding a folder that brings in the job details into the report
Similar Messages
-
V/LB - Change Pricing Report, Add new table
Hi Experts,
I am trying to add a new pricing table value to a price report via transaction V/LB. When I select the report to change and hit Table SAP button, there is not new entry or change button available only the delete functionality!! Can you please advise how I can add a new table value in the price report V/LB?
I have searched the database and a similar question has been asked previously but there is no reply per below link, can you please assist how add new condition value in the table of the report.
New Condition Table in V/LB
ThankyouHi
It is disabled in change mode (V/LB), only you would be able to select the tables in V/LA.
thank you -
CRXI - Adding SQL subtables to already existing tables in a report
Crystal Reports XI
SQL 2005
I have a SQL 2005 set of tables and subtables with their respective fields. In one of a pre-existing CRXI report there's an Opportunity table which now has a new "Opportunity_Details" subtable related to the original Opportunity table. This is a 1:1 relationship so that for each and every Opportunity record in the Opportunity table there exists only one Opportunity_Details record.. and vice versa. I can see the Field Explorer on the lower right of the screen but how do I ADD (connect?) the Opportunity_Details table to the pre-existing Opportunity table so I can use BOTH tables in a report? I've looked into Data Source Location but that didn't do anything. I can see all the respective fields in all tables in the Field Explorer. I just need to ADD a new table to the Field Explorer either 'under' the Opportunity table or 'under' the Database Fields area.
Once the connection is made is this connection valid for any and all sub-reports also?
My experience is primarily on v8.5 so some 'easy' assistance here would be helpful. I've looked around but nothing seems to jump out!
TIA!!>
total1 wrote:
> I don't follow you on this request!
> What I have just tried is to go through the Set Datasource Location>Create New Connection>OLE DB (ADO)>Microsoft OLE DB for SQL Server and then connected to the server, then selected the MySQLDB. VISUALLY, this seemed to work but I may have TWO connections to MyServer and MySQLDB. The Field Explorer dialog box with Database Fields now shows an additional table (the table I desire) BUT I'm not convinced that what I did IS the correct methodology/process. [This is under a single Database Fields in alphabetical order.] Performance or even correct functionality may be sacrificed. Is there a way to know if what I've done IS correct? I have doubts... For example the Set Datasource Location>Current Data Source shows TWO (2) MyServers with Properties and the respective tables for each as selected for each connection. That is, the second MyServer shows the table I just selected and the table I just selected isn't listed in the first MyServer connection. It still has the original tables.
> HTH
> Thanks...
It sounds right. Verify your database for the connection that does not show the table. If it does not show up, try setting the location again, setting the original connection list of tables to the new connection (I hope that makes sense).
I can not see the document you listed as my IT department has that web side blocked -
The phone company was here working on something while I was gone. They sat down at my computer (iMac) and since then HDR toning doesn't work. Get the code: Error 48: File or folder does not exist. Line: 11 -> $.evalFile(g_StacScriptFolderPatch + "StackSupport.jsx"); How can this be fixed?
Go to //Applications/Adobe Photoshop [Version]/Presets/ Scripts/Stack Scripts Only/ and see if StackSupport.jsx is there. If it is not, uninstall and reinstall Photoshop to have it added back in. If it is there, first try recreating the Photoshop Preferences (hold down Command+Option+Shift while launching Photoshop).
-
HDR Toning Error 48: File or Folder Does Not Exist
After migrating to a new computer HDR Toning is no longer available.
I get a pop-up: Error 48: File or Folder Does Not Exist
Line 11 -> $. evalFile(g_StackScriptFolderPath + "StackSupport.jsx");
What's the fix for this, if anyone knows?
Thanks.Go to //Applications/Adobe Photoshop [Version]/Presets/ Scripts/Stack Scripts Only/ and see if StackSupport.jsx is there. If it is not, uninstall and reinstall Photoshop to have it added back in. If it is there, first try recreating the Photoshop Preferences (hold down Command+Option+Shift while launching Photoshop).
-
How can we take backup of all the RDL'S existing at Report server dynamically at one time
How can we take backup of all the RDL'S existing at Report server dynamically at one time ? I want to take backup of all the reports existing at the report server dynamically at one time only. currently I'm able to take backup of the reports folder wise
using VBScript. and I have to pass the folder names again and again. I want this to be happened for all the reports of all the folders at single shot only using VBScript.Hi DineshRemash,
Based on my research, we can store the following VB Script to a text file, then modify the file name extension from .txt to .rss.
Dim rootPath As String = "C:\Reports"
Sub Main()
Dim items As CatalogItem() = _
rs.ListChildren("/", true)
For Each item As CatalogItem in items
If item.Type = ItemTypeEnum.Folder Then
CreateDirectory(item.Path)
Else If item.Type = ItemTypeEnum.Report Then
SaveReport(item.Path)
End If
Next
End Sub
Sub CreateDirectory(path As String)
path = GetLocalPath(path)
System.IO.Directory.CreateDirectory(path)
End Sub
Sub SaveReport(reportName As String)
Dim reportDefinition As Byte()
Dim document As New System.Xml.XmlDocument()
reportDefinition = rs.GetReportDefinition(reportName)
Dim stream As New MemoryStream(reportDefinition)
document.Load(stream)
document.Save(GetLocalPath(reportName) + ".rdl")
End Sub
Function GetLocalPath(rsPath As String) As String
Return rootPath + rsPath.Replace("/", "\")
End Function
Then navigate to the folder contains the script, we can directly run the below command from the run menu:
rs -s
http://aa/ ReportServer -i download.rss
We can modify the rootpath to point at whaterver fold you’d like to download the RDL files.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Folder name already exists error when activating feature
HI,
I am creating a document library and adding folders to it using elements.xml in VS 2012.
First time deployment of the item works fine, the folder is created. But further deployment or activation of feature from site features is throwing the error "Folder name already exists".
Below is the elements.xml of List Instance, which was modified to add the folders.
<ListInstance Title="TestLibrary" OnQuickLaunch="FALSE" TemplateType="101" FeatureId="Guid" Url="Lists/TestLibrary" Description="TEST Library List Instance">
<Data>
<Rows>
<Row>
<Field Name="ContentTypeId">0x0120004F994A3C0FF76546A528DA0D4B515898</Field>
<Field Name="FileLeafRef">Test_One</Field>
<Field Name="Title">Test_One</Field>
<Field Name="FSObjType">1</Field>
</Row>
<Row>
<Field Name="ContentTypeId">0x0120004F994A3C0FF76546A528DA0D4B515898</Field>
<Field Name="FileLeafRef">Test_Two</Field>
<Field Name="Title">Test_Two</Field>
<Field Name="FSObjType">1</Field>
</Row>
</Rows>
</Data>
</ListInstance>
How to fix this?
ThanksHi,
According to your post, my understanding is that you got “Folder name already exists error when activating feature”.
I had used the following code snippet to create a folder within a document library, it didn’t throw errors when reactive the feature.
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<ListInstance Title="LibTest"
OnQuickLaunch="TRUE"
TemplateType="10000"
Url="Lists/LibTest"
Description="My Lib Instance">
</ListInstance>
<Module Url="Lists/LibTest/Folder1" />
</Elements>
http://shareden.blogspot.com/2012/11/creating-feature-with-image-library.html
Also, when you redeploy the project, it will give you a dialog which would promote to delete the existed list or not.
If you click the “Resove Automatically”, the visual studio would delete the existed list automatically, and create a new list.
Thanks,
Jason
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support -
Adding a Parameter to a built in Report
Using SSRS, I cloned (using a simple save as command with a new name) the built in "Computers with a specific product" report and would like to add a parameter to filter the results by a device collection. This parameter exists in the
"Computers with specific software registered in Add Remove programs" report.
I am not familiar with SSRS and so editing this way is alien to me. I have only authored static SQL queries with no parameters in the past. Does anyone have any advice on how to get started? It appears I need to add a new data set for the collection
using an SQL query. Is this correct?I was able to get what I needed. but I don't have the foggiest notion of where I got the informatin from. Here are the notes I took (YMMV):
Creating the Dataset
A dataset for all collections must be added. The parameter relies on this dataset to pull the list of collections. You can name it
All_Collections or something similar.
select distinct c.CollectionID, c.Name, c.CollectionType from v_Collection c
WHERE c.CollectionType = 2
order by c.Name
This returns all collection names; the
WHERE clause specifies computer collections only.
Adding the parameter
In the main query/dataset, create an inner join between the
v_R_System and
v_FullCollectionMembership views
using the ResourceID field.
Name the parameter
CollID.
Create a filter/WHERE statement what says CollectionID is @CollID, e.g.
WHERE v_FullCollectionMembership.CollectionID = @ColID
This assumes the parameter added is named
CollID; if not, the value after the equals in the statement above should match the name of the parameter.
In the Where statement above, the GUI report building will insert N'variable'
(e.g. N'CollID') around the CollID value. This should be removed. If the query is created in the report builder GUI, you must switch it over to editing by text.
Note: What the N does is tell the SQL Server that the data which is being passed in is uni-code and not character data. When using only the Latin character set this is not really needed.
However if using characters which are not part of the basic Latin character set then the N is needed so that SQL knows that the data being given it is uni-code data.
Recommendation: Create all joins and filters using the GUI for the main query first. When done, edit the parameter as described in item b above
to enable use of the collection selection parameter.
Hope this helps! -
The name "Folder" does not exist in the namespace
I am trying to learn Wpf and doing some of the examples on the Microsoft site. https://msdn.microsoft.com/en-us/library/vstudio/bb546972(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
I am using Visual studio 2013. As I work through the example I am getting the following error.
Error 1
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
11 17
FolderExplorer
Error 2
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
16 7
FolderExplorer
Here is the code:
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:FolderExplorer"
Title="Folder Explorer" Height="350" Width="525">
<Window.Resources>
<ObjectDataProvider x:Key="RootFolderDataProvider" >
<ObjectDataProvider.ObjectInstance>
<my:Folder FullPath="C:\"/>
</ObjectDataProvider.ObjectInstance>
</ObjectDataProvider>
<HierarchicalDataTemplate
DataType = "{x:Type my:Folder}"
ItemsSource = "{Binding Path=SubFolders}">
<TextBlock Text="{Binding Path=Name}" />
</HierarchicalDataTemplate>
</Window.Resources>
I have a class file named Folder.vb with this code.
Public Class Folder
Private _folder As DirectoryInfo
Private _subFolders As ObservableCollection(Of Folder)
Private _files As ObservableCollection(Of FileInfo)
Public Sub New()
Me.FullPath = "c:\"
End Sub 'New
Public ReadOnly Property Name() As String
Get
Return Me._folder.Name
End Get
End Property
Public Property FullPath() As String
Get
Return Me._folder.FullName
End Get
Set(value As String)
If Directory.Exists(value) Then
Me._folder = New DirectoryInfo(value)
Else
Throw New ArgumentException("must exist", "fullPath")
End If
End Set
End Property
ReadOnly Property Files() As ObservableCollection(Of FileInfo)
Get
If Me._files Is Nothing Then
Me._files = New ObservableCollection(Of FileInfo)
Dim fi As FileInfo() = Me._folder.GetFiles()
Dim i As Integer
For i = 0 To fi.Length - 1
Me._files.Add(fi(i))
Next i
End If
Return Me._files
End Get
End Property
ReadOnly Property SubFolders() As ObservableCollection(Of Folder)
Get
If Me._subFolders Is Nothing Then
Try
Me._subFolders = New ObservableCollection(Of Folder)
Dim di As DirectoryInfo() = Me._folder.GetDirectories()
Dim i As Integer
For i = 0 To di.Length - 1
Dim newFolder As New Folder()
newFolder.FullPath = di(i).FullName
Me._subFolders.Add(newFolder)
Next i
Catch ex As Exception
System.Diagnostics.Trace.WriteLine(ex.Message)
End Try
End If
Return Me._subFolders
End Get
End Property
End Class
Can someone explain what is happening.
Thanks HalDid you try to build the application (Project->Build in Visual Studio) ? If the error doesn't go away then and you have no other compilation errors (if you do you need to fix these first), you should replace "FolderExplorer" with the namespace
in which the Folder class resides. If you haven't explicitly declared a namespace, you will find the name of the default namespace under Project->Properties->Root namespace. Copy the value from this text box to your XAML:
xmlns:my="clr-namespace:FolderExplorer"
The default namespace is usually the same as the name of the application by default so if your application is called "FolderExplorer" you should be able to build it.
If you cannot make it work then please upload a reproducable sample of your issue to OneDrive and post the link to it here for further help.
Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. -
How to copy existing query report into new query report in SQ00
Hi Experts,
Hi Experts,
I want to add fields "company code" "'region" to existing query report AQZZ/SAPQUERY/FKF1============
(list of vendor address) for this i done as following:
1.In SQ01 go to "EDIT->other user group" and i selected user group as /SAPQUERY/FK
2.I typed F1 in query field and click change button
3.I clicked next screen button and entered into "change query f1: select fields screen".here i clicked "basic list" button and searched company code checkbox and saved it as result company code is appearing in the standard report"AQZZ/SAPQUERY/FKF1============"
but unfortunately there is no region field(LFA1-REGIO) for this i think i should copy the existing query report into new query report(Ex:Z_LIST_OF_VEND) which should be 14 characters.please tell me briefly how to do this because this is first time i am using SQ00.
one more issue is when i selected "edit-otheruser group" and choosing /SAPQUERY/FK i am getting only infoset "/SAPQUERY/FIKD" but i should need Info set: "/SAPQUERY/FIDD" please tell me how to add the previous one into user group.i think if i got /SAPQUERY/FIDD into usergroup /SAPQUERY/FK i can add region also into Query report as i mentioned above by going SQ01 ...............................
please help regarding this which should be very beneficiary to my carrier.
Regards,
nareshHi Experts ,
I solved issue by changing infoset in SQ02 by means of assigning field to field group and changed the query in SQ00.
Regards,
naresh. -
Hello,
I ask you for advice (assistance). A week ago I re-installed the PC and installed to the computer again Photoshop CS5. Everything works for me except for the function of storing images for web by creating events. Called me constantly destination folder does not exist. The problem I had before. I ask you this advice on how to solve this problem.
Thanks for the advicehi,
i don't know if i integrate your code correctly, but it doens't work for me. I presently create skin for client and this plugin is really usefull for me.
i use win7 64bit home edition, and photoshop cs5
there is how i integrate this :
// EDIT ALEX GRENIER
function getPreferencesFolder() {
var userData = Folder.userData;
if (!userData || !userData.exists) {
userData = Folder("~");
var folder = new Folder(userData + "/xtools");
if (!folder.exists) {
folder.create();
return folder;
function exportChildren(dupObj, orgObj, dupDocRef, folder) {
if (getCSVersion() >= 10) // CS3 Only
// Create assets folder in Flex app's directory
// var tempFolder;
// tempFolder = new Folder (folder + "/assets/");
// tempFolder.create();
// EDIT ALEX GRENIER
var tempFolder;
tempFolder = getPreferencesFolder();
i put the code creating the folder in comment and put your code in place, i also put your function before the function creating file.
With the base code (without modification) photoshop is able to create my folder assets, but when it try to export the png, it export nothing, so i have a empty folder.
thank you,
Alex -
I'm having a wierd problem with a png image which generates an error in my script.
I'm building a UI using the group constructor, here is the line code I'm using to load the image:
myImg:Image{text:'',image:'(image_folder)/image.png', alignment:['left','top']}
The script runs with one image but not another one which is also a png of the same dimensions, bit depth etc. For some reason I get the 'file or folder does not exist' error message. If I replace the image with a known good one the script works.
I've re-generated the image a dozen times. Still no joy.
I'm not a total noob, though I infrequently write scripts and am completely prepared to learn I've made totally maverick error.
Any thoughts?myImg:Image{text:'',image:'(image_folder)/image.png', alignment:['left','top']}
I'm assuming that "(image_folder)" is a placeholder or variable and you are concatinating for the file path to the image? When checking file paths for images or what not, I usually try...
alert(File.decode(File.openDialog()));
...to verify that my path is correct. Sometimes there's a extra slash or something I am missing. -
Ruler Tool- Error 48: File or folder does not exist
I am trying to use the new RULER TOOL in CS5 (64-bit mode) running 10.6.4 and I get the following error:
Error 48: File or folder does not exist.
Line: 31
-> $.evalFile( g_StackScriptFolderPath + "Geometry.jsx");
Any ideas?i'm getting the exact error using Windows XP with CS5.5
error 48: file or folder does not exist
line: 31
-> $.evalFile(g_StackScriptFolderPath + "Geometry.jsx");
HELP!!!
someone
hello ... anyone out there?
how do we get support for this error?
e -
How to print a logo in existing / seeded report?
Explain in details about the steps involved in printing a logo in existing / seeded report
Thanks in advance
MadhanIt is either :
1. Use bitmap reports (in earlier version of apps), set the output to postscript or pdf
2. Use XML Publisher -
How to add a function field into the existing matrix report
Hi,
I have a matrix report , now i wanted to add one moe field into the matrix which is getting the value from a function , this function is a part of the ref cursor query(group) , i'm able to get the value from the function but it cannot display on the existing matrix report. i wanted to add this in the repeating frame which is printing down. how could i do this , looking for your help. thanks . bcjHere the scenario like,
Data from Table_1
NAME UNITS DAYS RATE
AAA 10 1 1.2
BBB 12 2 3.1
AAA 20 2 4.1
CCC 23 1 5.2
Here, In the matrix report the NAME and UNITS are row fields and 'DAYS' is column field , RATE would be the cell field, and
Data from Table_2 ,
NAME BASIC
AAA 2
AAA 2
BBB 2
CCC 3
In the report i have to display the 'BASIC' along with the NAME in row level ( repeating frame printing down),
To get the multiple 'Basic' for each 'Name' using a ref cursor .
and, using a function to do further calculation based on the basic value
begin
select basic into v_basic where name =:name;
return(caluculated_value);
end;
and return the calculated value to the report. But at that time cannot accommodate the value in the matrix report with other groups frequency.
looking for your valuable help. Thanks Bcj
Maybe you are looking for
-
Printing issue on a Canon LBP 1000 connected to a PC running XP
Cannot print on a Canon LBP-1000 connected (LPT 1) to a windows XP computer. I have managed to locate the printer on the workgroup but it is only printing blank pages or strange data such as %!PS-Adobe-3.0 %RBINumCopies:1 %%Pages: (atend) %APLDSCEnco
-
How to install EBS 11.5.10.2 on windows 2008 Server
Hi All, I need to install 11i (11.5.10.2) on a windows 2008 server sp2 machine. I'm using perl 5.8.9 but running perl adautostg.pl returns this error: Perl lib version (v5.6.1) doesn't match executable version (v5.8.9) at c:\oracle\VIS\apps\tech_st\1
-
I have a late 2008 MacBook I cant get to send sound to my TV when I try to watch movies. I have bought the HDMI cable and audio connectors but still no sound. What am I doing wrong?
-
How to connect webcam with forms11g
Hi All, Any one can tell how i can connect my laptop webcom through forms11g and take a snapshot save to our data base. With Regards Ramit Bajpai
-
Good export settings for Mpeg stremeclip
Hi I could not find a quicktime section so i am posting this hear. Ok I posted a few weeks ago about converting a lot of mpeg2 clips for editing in iMovie and Final Cut Pro. Well I just got some more clips but these are not going on DVD. Ok I want an