To view the script in Crystal report without logging in the DB
- In Crystal Report for to Database Expert
- right click the command in the database under Selected Tables (right side) and select view/edit command
- And will open the OLE DB or the datasource information.
- Make the User ID and Password blank
- Make the Integrated Security value as checked.
- Click Finished