Finding PreDefined Conditions from DesKI Reports using VB BO SDK

Hi,
I need to collect all objects and conditions used in DesKI Report files (.rep) and document them in a excel sheet. I am able to retrieve the Object information but I am facing promblem when i try to fetch the Predefined condtions used in the report.
I am using the below code to find the count of conditions available in a particular report.
dp_CurrentDP.Queries.Item(1).Conditions.Count 
It gives me this error, "cannot read queries from dataproviders". I am not able to find the cause of the problem, I am just trying with a very simple report and I can get all details from it including the SQL used (i.e, CurrentDP.SQL).. but CurrentDP.Queries.count is giving me the above error. I have put a seperate topic on this to check if anyone faced similar problem. Please guide me if you have any suggestions. Thanks

Post Author: HaHo
CA Forum: Other
hi ted.
sorry, took me a while to answer... well, you were absolute right. i made the following failure:
...For Each qry In dp.Queries   For Each con In qry.Conditions       For op = 1 To con.OperandCount         ' write condition to db      Next   NextNext...
well, a predefined condition simply has no operand.. :(stupid, in deed...better this way:
...For Each qry In dp.Queries   For Each con In qry.Conditions       If (con.OperandCount = 0) Then         ' write predefined condition to db      End If      For op = 1 To con.OperandCount         ' write condition to db      Next   NextNext...
thx a lot for your help, you showed me the way ;)harald.

Similar Messages

  • DESKI Report using Temp tables in MS- SQL server 2005

    Hi,
    I am trying to create a Free hand SQL DESKI report using temp tables in MS SQL Server-2005, I am using ODBC connection.
    When I run the report, I am getting the error
    u201CConnection or SQL sentence error (DA0005) No column or data to fetchu201D
    Ex:
    Select *
    into #t1
    from region
    select * from #t1
    drop table #t1
    Please help.
    Regards,
    Pratik

    Pratik, the SQL does not seem right. BTW you can only retreive data via Deski Free hand SQL. Also try to use OLE DB connection.

  • Failed to find algorighm ID from registry. Use default algorithm.

    Hello,
    I checked the smsdpmon.log on one of my Distribution Points and i saw the failure:
    Getting site code SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Getting algorithm ID SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Failed to find algorighm ID from registry. Use default algorithm. SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Getting DP Cert Type SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Getting this DP NALPath SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Unable to open Registry key Software\Microsoft\CCM. Return Code [80070002]. Client HTTPS state is Unknown. SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Start to evaluate ... SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Start to evaluate all packages ... SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Any one an idea what this means?
    THX

    Failed to find algorighm ID from registry. Use default algorithm. SMS_Distribution_Point_Monitoring 19.08.2014 11:55:00 11444 (0x2CB4)
    Just ignore that message. Not every yellow or red highlighted line does indicate a problem.
    Torsten Meringer | http://www.mssccmfaq.de

  • Deski report using sdk....?????

    Hi experts,
        Is there a way to create a deski report  from a universe using sdk.... If so, please provide me some sample code...
    Regards,
    ksvsivam

    Using the Desktop Intelligence Reporter SDK:
    Set newdocument = Application.Documents.Add()
    All the best..
    Praveen

  • Printing problem in Excel after exporting from Deski report

    Post Author: msanjeev
    CA Forum: Desktop Intelligence Reporting
    Hi ,
    When I export desktop intelligence report and try to print that report it prints excel column and row numbers. Is there way where we can disable printing column and row numbers before exporting to excel. Problem occurs only when we export to excel from deski. Just printing from excel we can disable printing excel column and row numbers.Please any one answer my query
    Thanks
    Sanjeev

    Post Author: GregPye
    CA Forum: Desktop Intelligence Reporting
    Not sure if this can be changed within DeskI options, but it can be changed within Excel. Go to File, Page Setup. In the Sheet Tab, there is "Row and Column Headings" check box in the Print section... deselecting this will stop these being printed.... I'm using Excel 2003...

  • List of universe for a deski report using deski report engine.

    We have some Deski reports. While running query builder , we are not able to get list of universe for those reports. (SI_UNIVERSE.SI_TOTAL is 0).
    We need to go for deski report engine approach to get the list for the same. Can someone please help me with the sample code for the same.
    Thanks,
    Abhay

    Hi Ted,
    Do you know if the ability to pull DeskI SQL will be supported through Java reportEngine in the future?  Is there a workaround aside from using COM SDK to pull this data provider information for DeskI?
    Thanks

  • Generate PDF file from a report using greek characters

    Dear all,
    I tried to generate a PDF file from a Report having greek characters on it.While in previewer I could see everything OK, when PDF file was generated all greek characters had been substituted by symbols...
    Any ideas, suggestions and workarounds are welcome.
    Thanx a lot!

    hi Kiriakos,
    which version are you using ?
    please test this with reports 9i since PDF support
    has been enhanced there.
    to test i would suggest to run the report from rwclient
    as well and specify desformat=pdf and to a generate to
    file within builder to see if the same behavior occurs.
    if this problem reproduces there as well i suggest
    to contact oracle support to log the problem.
    regards,
    christian

  • Get the Picture object location path from crystal report using CRAXDRT.DLL

    Post Author: hpatel_it
    CA Forum: Crystal Reports
    Hi All,I am working on one project - Crystal report to SQL Report conversion and I am using CRAXDRT.DLL to open and read crystal report.I have done conversation of all controls but I am not able to get PICTURE object from Crystal report and also PICTURE object source path.I am using CRAXDRT.OLEOBJECT to get the path of the picture object.if someone have knowledge of CRAXDRT please help me.Regards,Harry

    You can get at specific objects using events,  but not a whole record.
    Can't think of any way of doign this at all...
    Ludek

  • Error while designing Deski reports using excel 2010(xslx) as data source

    Hi All
    We are using BOXI R3.3 on Windows 2003 Server.
    When we are trying to create DESKTOP INTELLIGENCE REPORTS using EXCEL 2010(xlsx) format prompting with below error.
    "Cannot update.Database or object is read only(3207) "
    Could you please clarify whether BOXI supports MS EXCEL 2010 version(xslx) version or not?
    If not what is the work around for this?
    Regards
    bose

    Here is what Supported Platforms Guide says : Microsoft Office 2010 (starting with FP 3.4)**
    As you are on FP3.3, Office 2010 is not supported in your implementation.
    You need to either upgrade, or use pre-Office 2010 formats.

  • How to extract latest instance of a report using BO Enterprise SDK?

    Using BO Enterprise SDK how to extract latest instance of report from Crystal Enterprise XIR2?. Can anybody help me with explanation or code?
    Thanks in advance.

    Hi,
    Use the following query in the query builder
    SELECT
    SI_NAME, SI_SCHEDULEINFO.SI_STARTTIME
    FROM
    CI_INFOOBJECTS
    WHERE
    SI_RECURRING = 1
    SI_NAME: The recurring report name.
    SI_SCHEDULEINFO.SI_STARTTIME:  The date and time the report is scheduled to run next.
    The query above will return all the recurring reports .
    Regards,
    Prithvi
    Edited by: Raj_10 on Sep 14, 2011 1:54 PM

  • How can I find outliers in a DIAdem report using LabVIEW

    I am new to DIAdem and I am trying to take a DIAdem report and find the outliers and mark them with an 'X'. I found an example of this but it uses a VB script. The example has a constant to determine what is an outlier. I need this to be a variable. Thanks for the help in advance.
    AJL

    Hello AJL,
    an easy way to realize your task would be to use the VBS script you allready found.
    You can call a VBS with the "Diadem run script.vi". Inside the VBS, just locate the parameter you want to change and replace it with one of the DIadem Variables (for a realvalue you could use R1 for instance). You do not need to declare those internal variables initially, they are part of DIAdem and free for everybody to use. Just make sure it is not used a second time in the script you are calling. Then, prior to running the script you just have to set the respecting variable with the "DIAdem variable set.vi". This allows you to change DIAdem command parameters from your LabVIEW vi.
    Both VIs I mentioned above are part of the LabVIEW DIAdem Toolkit. In case you don't have it yet, you can download the functions at
    http://digital.ni.com/softlib.nsf/websearch/5121C7​F322C9392886256EDF005BB4FF?opendocument&node=13207​0_US
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • Get condition from interactive report

    Hi all!
    I have an interactive report.
    After the user has set some filter conditions I would like to write the ID's of the selected datasets into a table.
    This should take place in an "after-submit-process" in pl/sql.
    Something like:
    INSERT INTO #OWNER#.log_table (OBJT_ID) VALUES (SELECT ID FORM #OWNER#.source_table WHERE
    ":APEX_REPORT_CONDITION");
    My question:
    Is there an apex-object like ":APEX_REPORT_CONDITION"?
    Thanks for your help!
    Kai

    Hi Jari,
    thank you for your reply. But I need s.th. different:
    If I load my report-page and display "Debug" the SQL behind the report looks like:
    select
    null as apxws_row_pk,
    +"ID",+
    +"NUMBER",+
    +"TITLE",+
    +"ENTRY_DATE",+
    +"PRIOPRITY",+
    +"PROBABILITY",+
    count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    select
    r.ID,
    r.NUMBER,
    r.TITLE,
    r.RPRI_NAME,
    r.ENTRY_DATE,
    r.PRIORITY,
    r.PROBABILITY
    from #OWNER#.MY_TABLE r
    where r.usr_name = :APP_USER
    +) r+
    where ("PROBABILITY" = :APXWS_EXPR_1*
    and "PRIORITY" = :APXWS_EXPR_2)*
    +) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)+
    +0.44: binding: ":APP_USER"="APP_USER" value="USER"+
    +0.44: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="(10-50%)"+
    +0.44: IR binding: ":APXWS_EXPR_2"="APXWS_EXPR_2" value="Hoch"+
    +0.44: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="10000"+
    As we can see, apex put an own select-statement around the original statement.
    What I need is the part in bold letters and the APXWS_EXPR_x-values. How can I get it?
    Has anyone any ideas? Thanks in advance!
    Kai
    Edited by: user610935 on Nov 25, 2009 11:27 PM
    Edited by: user610935 on Nov 25, 2009 11:27 PM

  • Getting active filter conditions from interactive reports

    I have been having trouble with how to properly get the filter conditions that a user has applied to an interactive report. I have tried to get at this information using the Apex defined view APEX_APPLICATION_PAGE_IR_COND. However, the problem I am running into is if the user ends their session without first removing their filter conditions, those conditions remain in this view the next time (and any future times) the report is accessed. I can not seem to determine how to tell which filter conditions are actually active in the report. Any help would be greatly appreciated.

    I've done several tests, and the results I'm getting are not like that, if it were there would be no problem. The exact steps I'm doing is setting an arbitrary filter on an interactive report, and then logging out. When I log back in the view still shows those filter conditions, but no records are filtered on the actual report. I've tried this on two separate installations of apex (one 3.1, the other 3.2) and the results are the same. Is this irregular? Or has anyone else found a workaround for this.

  • Where can i find microsoft word from a furbised/used apple computer?

    our facility was given a used computer (apple) after they deleted all files in it. however i am trying to see if i can find the WORD in it so kids can use it for their paperwork. But i could not find it in the system. I do not want to buy a new word 365 because it is not compatible with the pc. I need help please?

    What is an iMac65? That isn't a model identification.
    Open System Information/Profiler in the Utilities folder. Report what is listed in the right panel for the Mac Model Identifier. Should be two integers separated by a comma.

  • Cant find bean class from jsp page using Tomcat 4

    Hi
    I have searched numerpus forums and seen many posts from people who seem to have the same problem however none of the solutions seem to work for me.
    I have a jsp page which is trying to call a bean method however I get an error
    saying that the class for the bean cannot be found. I have :
    1. put the class in a package called kolaBean under
    C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\begjsp-ch01\WEB-INF\classes\kolaPackage
    2. included the package statement in the java file for the bean
    3. included an empty constructor in the java file for the bean
    4. I have declared the above constructor as public (is this necessary?)
    5. used the full package name:
    kolaPackage.kolaBean bakedBean = new kolaPackage.kolaBean();
    6. imported import java.beans.*; (is this necessary ?)
    7. still got the same error...
    Any pointers really really appreciated
    Thanks
    Kola

    in reply to David Rons email:
    Is this a fresh install of tomcat? If so, it could be a configuration
    problem.Yes it is
    Is the class public in the package (I forget that all the time)?Yes it is. I have also declared the constructor to be public is this
    necessary?
    What's the error message?here is the error message:
    An error occurred between lines: 11 and 14 in the jsp file:
    /begjsp-ch01/kolaBean.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat
    4.0\work\localhost\_\begjsp-ch01\kolaBean$jsp.java:59: Class
    kolaPackage.kolaBean not found.
         kolaPackage.kolaBean bakedBean = new
    kolaPackage.kolaBean();
         ^
    2 errors
    Thanks in advance
    Kola

Maybe you are looking for

  • How do I stop iTunes from arrangin my music in folders?

    I just got a MB Pro and tried putting my music into iTunes. It keeps putting them in folders by artist, but I do not want this because they are all tittled right, but not tgged right, so if I can not find it with iTunes tagging, i want to go to the f

  • Error message to Warning message in MIGO?

    Hi, When we are executing MIGO 411 K transaction we are getting error message 'Enter Vendor Number'. I want to supress change error message to warning message. Because my requirement is populate vendor dynamically based on combination of Material, Pl

  • Entered data in form is lost upon export to excel? Help.

    Dear forum members, I have a need to deliver a user fillable form to customers on a thumb drive. I created the form from an existing excel spreadsheet. The customers need to enter (numerical) orders for products and return the drive to me. I can get

  • Mac to Windows Printing

    My mum has bought a new mac book pro and i have been trying to install my new dell photo 926 printer onto it. I have read on the overview of mac os tiger that the printer (if it is shared) should just appear in the printers dialog... but it doesent.

  • Spatial Performance with join

    I have a Oracle Spatial table with 3.5 million rows plus another auxillary table with 3.5 million rows. A query over these two tables joined returns a full result (250 rows) based on one to one join - here's an example: Select count(*) from F, N wher