Hide Parent Table

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
ethanlazarus
User
Posts: 71

Hide Parent Table

Post by ethanlazarus »

In phpmaker 2018, I could hide the parent table with this code: (patient_list in this case is the parent table, this is in the page_load event)

function Page_Load() {
	//echo "Page Load";
    //this is not working
    
	$GLOBALS["patient_list"]->Visible = FALSE;   

}

How do I hide the parent table now in php maker 2024?


mobhar
User
Posts: 11905

Post by mobhar »

For v2024, you may simply try this following code in Page_Load server event that belongs to your detail table:

Container("patient_list")->Visible = false;

ethanlazarus
User
Posts: 71

Post by ethanlazarus »

That did it. Thanks.


Post Reply