Logon ID & Password for Text Files

RONALD BEAUMAN 81 Reputation points
2023-08-19T23:19:00.68+00:00

What is the method for specifying a logon ID and a password for a text file using the Microsoft Text Driver?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Peram Madhuri 20 Reputation points
    2023-08-23T16:06:56.3633333+00:00

    Hi @RONALD BEAUMAN if you're experiencing logon failures with the Microsoft Text Driver, please follow these steps: 1. Configure the Connection:

    a. In the Crystal Reports designer, go to the Database menu and select "Database Expert."

    b. In the "Database Expert" window, select "Create New Connection."

    c. Choose "Access/Excel (DAO)" as your data source.

    d. Click "Build" to configure the connection.

    1. Specify the CSV File:

    a. In the "Connection Info" dialog, choose "Microsoft Text Driver (*.txt, *.csv)" as the ODBC driver.

    b. Enter the path to your CSV file in the "Database Name" field.

    c. If your CSV file requires a User ID and Password, enter them in the respective fields. If not, leave these fields blank.

    d. Click "Finish" to complete the connection configuration.

    1. Verify the Data Source:

    a. Back in the "Database Expert" window, you should see your CSV file listed as a table.

    b. Drag and drop the fields from the CSV file into your report as needed.

    1. Save and Run:

    a. Save your Crystal Report.

    b. Try running the report. It should use the configured connection details, including the User ID and Password if required.

    If you're still encountering logon failures, ensure that the credentials and file paths are correct, and you have the necessary permissions to access the CSV file.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.