Adding a column to a DataSet (xsd) for a Crystal Report

后端 未结 2 1978
攒了一身酷
攒了一身酷 2021-01-13 10:27

I am working on a report and need to add a column to one of my datasets and to the RPT file, but when I try to modify the Data Set, I get an error that the specified table d

2条回答
  •  天涯浪人
    2021-01-13 11:01

    My approach would be to actually modify the data outside of Crystal. So whether that means changing your query, or updating the .xsd, you'd add your column there. Then in Crystal Reports, you would go to "Database" in the menu bar, and choose "Verify Database" if your datasource/location hasn't changed, or "Set datasource location" if it has. Once you reverify the datasource, your new column should appear in the database fields, and you'll be able to drag it into your report.

提交回复
热议问题