Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Demos do not work since upgrade 10 10.05

edited January 2007 in End User
Hello

Since upgrading to 10.05 I notice that the demos (Interbase and BDE) do not
work. Also I notice that they have changed. plItem now using queries instead
of a table object. Has that been there a while.

I used to use the demo app and just point it to a copy of my live database
and it would work ok no problem. Always used to do this when I upgraded to
look at some of the new features in the the new release before doing things
on my live environment and code.

Am I missing something here? It has changed right ?

Mark

Comments

  • edited January 2007
    Hi Mark,

    Which version of ReportBuilder are you upgrading from? The new end-user
    architecture has been in place since RB 10.0 was released and should require
    no action on your part (database wise) to get working. Is there something
    special about your database that is different from the one I would be using
    on my machine? What is happening when you run these demos? Are you
    receiving any errors?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2007
    Nico

    Looking at the database settings on euDatabase they are
    PATH=D:\Program Files\Borland\Delphi7\RBuilder\Demos\Data
    DEFAULT DRIVER=PARADOX
    ENABLE BCD=FALSE

    When I launch I get the following message:
    "Error: FolderPipeline : 'plFolder' could not be opened"

    I can usually use the Interbase demo and just change the alias to my
    database or just enter the path on the database object and it has been fine.

    You are correct in that I last did this when we were on 7.04 and we jumped
    to 10.04 so did not notice the change. As 10.05 came out shortly after I am
    now testing our app on 10.05 and am now going through things when I noticed
    the difference.


  • edited January 2007
    Nico

    I should have also said the the error in my previous post is when I turn off
    the data dictionary. With the dictionay on I get the following error:
    "Error:DataDictionary.TablePipeline 'pltable' could not be opened"

    I have placed dbgrids on the form and set the table properties to active and
    the data is displayed so my database is there and tables set correctly.

    Any clues?

    Mark

  • edited January 2007
    Hi Mark,

    I am unsure about the cause of this error. We have also not heard of this
    before from any other customers. Are you certain your library path is
    pointing toward the correct source? There must be some difference between
    your setup and mine. Are you able to drop a TTable on a form and
    successfully access it from a report and pipeline?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2007
    Nico

    I added a TTable, Datasource, Report and BDEPipeline. Connected table to
    DBDEMOS alias and then made active.

    Double clicked on the report component, added a dbfield and hey presto all
    OK.

    Still cant get the demos to work tho...

    Mark

  • edited January 2007
    Nico

    I have traced it so far to here

    if (FDesigner.DataSettings.DataDictionary <> nil) and
    (FDesigner.DataSettings.UseDataDictionary) and
    not(FDesigner.DataSettings.DataDictionary.ValidSettings) then
    begin
    FErrorMessage := FDesigner.DataSettings.DataDictionary.ErrorMessage;
    Exit;
    end;

    In the ValidateSettings Function

    Its exits with the message i posted earlier

    Mark


  • edited January 2007
    Ok a little more digging

    fails here, why I dont know perhaps u can help

    M

    function TppDataDictionary.ValidDataPipeline(aDataPipeline: TppDataPipeline;
    const aPropertyName: String): Boolean;
    begin

    Result := True;

    if (aDataPipeline <> nil) then
    begin

    try
    aDataPipeline.Open;
    except
    FErrorMessage := ppLoadStr(682); {'DataDictionary. ''''
    could not be opened.'}


  • edited January 2007
    Hi Mark,

    I received your email and example and will take a look at it and get back to
    you as soon as possible.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.