Skip to main content Skip to footer

How to solve command text error in ActiveReports

Background:

When previewing a report, you get the following error:

GrapeCity.ActiveReports.ReportDataException: A Command Text has not been set.

This error is simpler than it sounds to fix. It is caused by a data set in the report not having a query.

Steps to Complete:

1. To fix it, right-click your data sets

2. Select Edit

3. Check the Query tabs to make sure all data sets have a query

4. You should find that at least one does not have a query associated with it, hence the error occurring

Tyler Barlock