delphi 2006 mysql 5.0 (Object reference not set to an instance of an oject.)

delphi 2006 mysql 5.0 (Object reference not set to an instance of an oject.)

Postby kelinda72 » Fri 05 May 2006 10:36

in the DataModule i add SQLConnection1.
My parameter

HostName=localhost, database=prova, UserName=root, password=xxx
....

when i make Connected=true averything going on good!!

I add a sqltable

SQLConnection = SQLConnection1
SchemaName = "prova"
TableName= impegni

WHEN I MAKE ACTIVE=TRUE //THIS ERRORE APPEAR

Object reference not set to an instance of an oject.


SomeOne can help me?
kelinda72
 
Posts: 9
Joined: Fri 05 May 2006 10:27

Postby Alexey » Fri 05 May 2006 10:58

What is meant by "SQLConnection1" and "sqltable"? Are you using Microsoft SQL Server provider?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Object reference not set to an instance of an oject.

Postby kelinda72 » Fri 05 May 2006 12:13

I mean that i use the component DBEXPRESS in the delphi form, i add the component SQLCONNECTION and the component SQLTABLE for connect to MYSQL SERVER.

thanks
kelinda72
 
Posts: 9
Joined: Fri 05 May 2006 10:27

Postby Alexey » Sat 06 May 2006 11:09

This is the forum of MySQLDirect .NET.
MySQLDirect .NET is data provider to direct access to MySQL database server for the Microsoft .NET Framework and .NET Compact Framework.
Key features of MySQLDirect .NET are listed
here.
You can download free evaluation version
here. Installation
package includes required assemblies, full help system and various sample projects in C#, MC++, VB.NET, Delphi.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL