I use Visual basic 8.0, Cyrstal Reports v10 what is included in Visual basic 8.0 and MYSQL 5.0.
I have installed :mysql-connector-odbc-5.1.5-win32.msi
I have database Articles with two fields:
article nr
article discription
To connect to my MYSQL database within My form i use this:
Dim Myconn As New MySqlConnection
Dim myCommand As New MySqlCommand
Dim myAdapter As New MySqlDataAdapter
Dim myData As New DataTable
Dim MyConnString As String
MyConnString = "port=3306;SERVER=localhost ;DATABASE=Articles; Uid=test;Pwd=test"
Myconn.ConnectionString = MyConnString
End so on.
The only thing i want to do is connect to MYSQL database to my Cyrstal report. So these two fields can added to my report.
article nr
article discription
But evertime do this :
start with "crystal report design"
I select "Data"
"add new datasource"
I select "Database"
I select "New connection"
I choose datasource "Mysql database"
add connection (see Annex) I come up here
I cannot fill in Server name, user Name, password Database name.
evertime i try to type something de system jump back to previous screen
Please can some body help with this.