$databaseName = 'Lending Library'; $layoutName = 'Asset Form View'; $userName = 'tschenking'; $passWord = 'spoig0mmd'; $fm = & new FileMaker(); $fm->setProperty('database', $databaseName); $fm->setProperty('username', $userName); $fm->setProperty('password', $passWord); ExitOnError($fm); $layout = $fm->getLayout($layoutName); ExitOnError($layout);