CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Connecting do dBase database

Print topic Send  topic

Author Message
mkm

Posts: 10
Posted: 03/31/2005, 6:36 AM

Hi,

I try to connect to dBase database. I made the ODBC named "mybase". In Design mode I can connect to the database and use the GridBuilder to make the form, but when I want to display page I have an error:

Warning: odbc_connect(): SQL error: , SQL state 00000 in SQLConnect in db_odbc.php on line 57
Database error: Link-ID == false, odbc_pconnect failed
ODBC Error: 0 ()
Session halted.

I setup the parameters in Server:

PHP database library: ODBC
Database: DB2
Connection name: mybase
Persistant connection: no
Use ODBC cursor: yes
Use LIMIT/TOP: no

Have You any idea ??
View profile  Send private message
mrachow


Posts: 509
Posted: 03/31/2005, 7:44 AM

Is the same ODBC data source created on your server?

_________________
Best regards,
Michael
View profile  Send private message
mkm

Posts: 10
Posted: 03/31/2005, 10:12 AM

I tried some hours and I have the connection now. I don't underestand this, but I was change the settings in ODBC data source many times and now it working fine. This settings is the same as in the beginning (I think). In my mind I was one little mistake. Now it working very good and I am very happy :-D.

By the way - sorry for my poor english.

Best regards.

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.