CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 multiple databases support

Print topic Send  topic

Author Message
aclhkaclhk

Posts: 3
Posted: 06/02/2010, 2:44 AM

I am new to codecharge studio.

I need to display records from tables of 2 databases. pls advise if this is supported.
View profile  Send private message
datadoit
Posted: 06/02/2010, 5:49 AM

CCS allows for multiple connections to multiple locations/databases.
-Each- record form or grid can use -one- of those connections.
aclhkaclhk

Posts: 3
Posted: 10/19/2010, 3:50 AM

i have two databases. could we link the records from tables of different database?

database->table->fields
db1->customer->customer_id, login, pass
db2->customer_order ->customer_id, order_id, item, qty, price

after customer login, the list of orders for that customer will be displayed.

pls advise if this is possible.
View profile  Send private message
aclhkaclhk

Posts: 3
Posted: 10/19/2010, 4:29 AM

if yes, pls briefly advise how to do so or which examples could illustrate this.
View profile  Send private message
rho


Posts: 85
Posted: 10/19/2010, 4:42 AM

Hi aclhkaclhk,

to do this in CCS, you have to write custom code: first get the records from the db1-connection, then get the additonal data from the db2-connection, combine the results, and finally display the results.

In CCS, it is not possible to simply "link tables" from different databases, as this is something that should be handled within the database you use (ie, the database would link additional tables from another database which are then available through a single db-connection). See if your database supports "linked tables".

Cheers, Rob.
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.