Home General

TdaMetaCache.GetFields error

edited September 2001 in General
RBuilder 6.1 ; Delphi 5.1 ; Advantage 5.2 ;
I have 18 reports saved as *.rtm in a sub folder under the applications
root. Half the reports make use of the autosearch function. The reports are
loaded as required at runtime. Under the development PC all the reports work
as expected, however when running from my lap top all the reports with
autosearch produce the error 'TdaMetaCache.GetFields: Unable to find table
bookings in cache' Reports without Autosearch run fine.
What am I missing?

Andy M.

Comments

  • edited September 2001
    The metacache is a mechanism to retrieve the field name. First it will
    access the datadictionary to get the field name. If there is no data
    dictionary, then the metacache will access the database to get the field
    name. Sounds like the laptop has a data connectivity problem. If you are
    using the data dictionary make sure that it is connected.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited September 2001
    Hi Jim,

    The application does not use a data dictionary. Also upon testing on several
    more machines we get the same problem. It will only work on the development
    PC. We are using Advantage local server and have no problems accessing the
    other reports or any other part of the program, only reports which include
    the autosearch dialog. Can you suggest anything?

    Andy Maule.

  • edited September 2001
    Can you create a new report and a new dataview in DADE from the laptop, in
    the runtime designer? This would fire the GetFields method on the metacache
    for sure, regardless if there are autosearch criteria.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.