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

TdaMetaData.GetFieldLengthsFromDataSet: Unable to open dataset: SAIDAS

edited January 2007 in General
Hi folks,

Im needing some help, over here. Im using the RB 10.02 on Delphi 7 with
SQL Server 2000, and im getting the following problem...

When im going to set the SearchExpression in the AutoSearchFields, im
gettin a 'Missing drivername property' error, and a EDataError with
message 'TdaMetaData.GetFieldLengthsFromDataSet: Unable to open dataset:
' after. If i dont set the SearchExpression, i got the same
error on the print procedure.

Here the Callstack (after print procedure call):

daMetaData TdaMetaData.GetFieldLengthsFromDataSet
daMetaData TdaMetaData.GetFieldsFromDataDictionary
daMetaData TdaMetaData.GetFields
daMetaDataManager TdaMetaDataManager.GetFields
daSQL TdaSQL.CreateFieldsForTable
daSQL TdaSQL.CreateAvailableFieldList
daSQL TdaSQL.SyncFields
daSQL TdaSQL.GetAvailableFieldCount
daSQL TdaSQL.ContainsFieldName
daSQL TdaCriteria.SetValue
daQueryDataView TdaQueryDataView.ReportGetAutoSearchValuesEvent
daQueryDataView TdaQueryDataView.EventNotify
ppComm TppCommunicator.SendEventNotify
ppReport TppReport.DoOnGetAutoSearchValues
ppReport TppReport.ShowAutoSearchDialogBeforePrinting
ppReport TppReport.Print


Regards,
Victor Pimentel

God is real unless declared integer

--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited January 2007
    Hi Victor,

    The "Missing drivername property" error is not a ReportBuilder error. Which
    connection type are you using to connect to your SQL Server DB? Are you
    able to access data normally without using ReportBuilder or perhaps with a
    very simple report? At what point in the call stack below does the Missing
    drivername error occur. My guess would be when DADE first tries to access
    your data.

    --
    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.