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

 Error in pages without grid

Print topic Send  topic

Author Message
zeuch


Posts: 25
Posted: 05/12/2004, 12:20 PM

Hi all!

I'm getting an error if page don't have a grid ou record grid. The error is in "CCGetDBValue" function of Common.php page, at line "$db->query($sql);".

Anybody can help me? Anybody get an error like that?

Thanks for while and sorry for my little vocabulary.

Regards,
Matheus
_________________
Matheus Zeuch
View profile  Send private message
carolcastro


Posts: 24
Posted: 05/12/2004, 12:28 PM

If you don´t have a grid you have to add a line creating the connection

$db = new clsDB<connection_name>();

Hope it works!
_________________
Carol Castro
View profile  Send private message
zeuch


Posts: 25
Posted: 05/12/2004, 12:39 PM

Carol, I added the line "$db = newDBconexao();" at Page After Initialize and it don't work. Have you other sugestion?

[]'s
_________________
Matheus Zeuch
View profile  Send private message
zeuch


Posts: 25
Posted: 05/12/2004, 12:41 PM

Sorry, it's "$db = new clsDBconexao();" :-)
_________________
Matheus Zeuch
View profile  Send private message
carolcastro


Posts: 24
Posted: 05/12/2004, 2:09 PM

Try adding the line o the top of the page_events.php

ex:
<?php

$db = new clsDB<connection_name>();


//BindEvents Method @1-D40060DD
function BindEvents()
{
global $CCSEvents;
$CCSEvents["BeforeShow"] = "Page_BeforeShow";
}
//End BindEvents Method
....

Probably it work now. If it doesn´t work write the line before you use the CCGetDBValue!




_________________
Carol Castro
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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