TdaMetaCache.GetFields error
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.
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.
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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.
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
http://www.digital-metaphors.com
info@digital-metaphors.com