Missing table '' in database structure

Hi

I have come across a strange warning in Debwin4 and resulting error while taking some of our older reports (from I think Combit 14 or thereabouts) and integrating them with our .NET framework and Combit 27. The specific warning is Missing table '' in database structure, which then results in WRN: ILLDataProvider(000000F83B378A90)->OpenTable('') failed (Unspecified error (80004005)), 0 0, which in turn results in the report’s detail table being empty.

I am using the ObjectDataProvider, constructed with a List<> of objects (I have also tried to pass in a simple list of strings into the provider, which did not alleviate this specific warning). I have updated all the objects in the report to refer to the new table structure, so in the designer itself there are no errors and all the expected variables and fields are present, but any attempt to preview the report results in the above sequence of warnings and the report fails to render correctly.

I’m at a loss as to what is causing this - is it something to do with the report file, or could it be caused by incorrectly constructing the Combit instance or incorrectly passing data to it?

Hi,

using these old project files (from v14?) with the new data-provider mode in v27 with the support of more then one report-container and more new features could be the problem. You can first try to change the databinding mode of the component by setting the property DataBindingMode to value Compatible.

If you’ve updated the project to incorporate the new field names, you may need to modify the data source for the table item to reflect your root table’s name. To do this, simply select the table within the Designer tool window and locate the “Data Source” property. By clicking the button located at the far end of the value column, you should be able to designate your root table as the source. See here:

image

Ah, thank you! It’s working now. I had seen mention elsewhere of setting the data source, but I couldn’t figure out where to set it (I was under the impression that was a property of the report, not on an object in the report.

2 Likes