Skip to content

Connection and data-source settings

The Connection / Parameter Settings dialog sets how the open report connects to its data source and which parameter values it uses. It appears when you open a live report or refresh, provided the matching options are enabled in Settings.

The dialog is governed by two options in Settings › Customize — datasource modifications and enhanced parameters — together with whether opening the report runs a live query against its data source:

  • It appears when opening a report runs a live query against its data source and at least one of the two options is enabled. A live query runs when the report has no saved data, or when it has saved data but Automatically Refresh Report Data (in Settings) forces a fresh query on open (see Opening reports).
  • It also appears when you refresh the open report with Report Viewer › View › Refresh — a refresh always runs a live query. There is no dedicated ribbon button that opens the dialog; refreshing is how you reopen it deliberately.
  • A report that opens straight from its saved data, with no forced refresh, does not show the dialog.
  • If both options are turned off, the dialog never appears, and Crystal Reports’ own login and parameter prompts are used instead.

Opening live report data requires a Standard or Site license.

The dialog is not tabbed. It shows up to two stacked cards, a status line, and a button column with OK, Close, and Help. Clicking OK always re-runs the report’s query — even if you changed nothing. Each card is governed by its own option in Settings › Customize, independently:

  • Enable Datasource Modifications shows the Datasource card.
  • Enable Enhanced Parameters shows the Parameters card.

If only one option is enabled, only that card appears and the dialog still opens. If both are disabled, the dialog does not open at all.

The Datasource card begins with a Use Report Settings (Uncheck to modify datasource) checkbox. Leave it selected to connect using the information saved with the report; clear it to enter your own connection details.

For a report with a single data source, the card shows Server, Database, User Name, and Password fields and a Trusted Connection checkbox, which connects with Windows authentication instead of a user name and password. The Server field also acts as an ODBC data-source picker: a chevron button (tooltip Pick an ODBC DSN) chooses a configured DSN, after which the Server field displays the DSN name, and a clear button (tooltip Clear the DSN binding) removes it. Password fields include a reveal toggle.

Connection / Parameter Settings dialog for a single-source report, showing the Datasource card fields

For a report whose tables draw on different data sources, the card shows a grid with one row per table and the columns Report / Table, Server, Database, User ID, Password, and Trusted, so you can set each table’s source individually across the main report and any subreports.

Connection / Parameter Settings dialog for a multi-source report, showing the per-table grid

The Parameters card begins with a Parameters (Uncheck for cascading parameters) checkbox and shows a grid with the columns Prompt, Start Value, End Value, and Set Null. The Start Value cell offers a chevron for picking a saved custom parameter; End Value applies only to range parameters and shows an em dash where it does not apply. The card appears whenever enhanced parameters are enabled, even for a report that has no parameters — in that case the grid shows its column headers with no rows.

A status line reports the state of the datasource override. When an override is applied it reads Override active: followed by the server and database you entered; while required fields are still missing it reads Override pending — fill in Server and Database. It updates as you complete the card.

If a Global Login connection is configured and enabled, this dialog uses it as the default. When its Enable this connection box is checked, the dialog reads the Global Login and pre-fills the connection fields with those credentials, clearing Use Report Settings for you. Enable this connection is off by default, so out of the box the dialog does not pre-fill from Global Login.

This dialog only reads the Global Login — it never edits it, and it does not display the words “Global Login.” You set up, enable, and change the Global Login in the Settings window; see Managing the Global Login.

The Preview tab’s Panels › Parameters button does not open this dialog — it toggles Crystal Reports’ own parameter side-panel. This dialog has no ribbon button of its own; on an already-open report you reach it by refreshing with Report Viewer › View › Refresh (with at least one Customize option enabled).

Two other surfaces edit parameters, both Crystal’s own:

  • Crystal’s native parameter side-panel — the panel the Panels › Parameters button shows — has its own Apply and Delete for editing values in place.
  • Crystal’s native Enter Parameter Values prompt appears at render time when enhanced parameters are turned off (cascading mode).

There is no keyboard shortcut and no right-click context menu for editing parameters; the surfaces described here are the only ways.

  • With Enable Datasource Modifications turned off and no Global Login configured, the report’s datasource is not overridden and Crystal Reports’ native data-source prompt is used.
  • With Enable Enhanced Parameters turned off, parameters are handled in cascading mode through Crystal Reports’ native parameter prompt rather than the grid above.
  • Automatically Refresh Report Data (also in Settings) does not change this dialog, but because it forces a fresh query on every open, it can bring the dialog up for a report that would otherwise open straight from its saved data.

For unattended runs, the same per-table connection information can be supplied on the command line as a DataSources= manifest, which the Command Line Builder generates for you — see Command line parameters.