Inside my CFLAYOUT I have 3 tabs. I run CFQuery on the CFLAYOUT parent page, and use CFIF ThatQuery.recordcount GT 1... in each of the 3 tabs to determine what to display. It doesn't find the variable "recordcount" because it can't access / use any of the query or session variables on each of the tabs. Using CFDUMP results in pop-up error "Error retrieving markup for element tab1: Variable SESSION is undefined..." Same for Query variable. Form variables seem to work though. <CFDUMP VAR="#form#"> works. It's as if some CFML doesn't get processed on the tabs, only HTML layout info does. The query results and session variables are clearly listed in the CFDebugger.