Page 1 of 1

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

Posted: Fri 05 May 2006 10:36
by kelinda72
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?

Posted: Fri 05 May 2006 10:58
by Alexey
What is meant by "SQLConnection1" and "sqltable"? Are you using Microsoft SQL Server provider?

Object reference not set to an instance of an oject.

Posted: Fri 05 May 2006 12:13
by kelinda72
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

Posted: Sat 06 May 2006 11:09
by Alexey
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.