CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Page Includable NO to YES! codeloss and errors!

Print topic Send  topic

Author Message
Maris Kalnins
Posted: 11/22/2002, 6:48 AM

Hi!

I have a page "module_vmenu"
that contains one grid "menus"
and under this grid are several labels..

I have an event in grid "menus" -
Before Show Row - Custom Code

This page works perfect when the page
property Includable=NO

Now I want to make this page Includable=YES
to use as a module in any other pages.

for my big suprise when I changed Includable to YES
and pressed F9 (build project), I lost my Before Show Row Custom Code
that was under the grid "menus", every line of my code now begins with //DEL

the solution was that I deleted Custom Code and created it again,
pasted my code there now at least id doesnt drop it off..

nex problem is that I now have an error:

Fatal error: Call to a member function on a non-object in
c:\program files\apache
group\apache\htdocs\companion\module_vmenu_events.php
on line 13

my code is following:

function module_vmenu_menus_BeforeShowRow() {
//module_vmenu_menus_BeforeShowRow @2-633B09EF

//Custom Code @227-2A29BDB7
// -------------------------
global $menus;
global $mnu;
global $mnuact;

//noskaidrojam, vai menu ir links, vai nee
$link_content = $menus->ds->f("href"); //this is the line 13
that generates an error

.....

What I cannot really understand is why in Includable=NO it works, but when I
make it Includable=YES
such strange things happen?

Maris

P.S. and about code deletion without any warnings - CCS team, it's absurd!!!

Maris Kalnins
Posted: 11/26/2002, 2:05 AM

will somebody from CCS developers give their users an explanation of this
and
possible solutions?


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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