Since (following that other discussion) you need a script anyway to write this list into an indexed field, do this
Set Variable [ $myLayoutNames ; LayoutNames ( "" ) ]
Set Variable [ $layoutCount ; ValueCount ( $myLayoutNames ) ]
Exit Loop if [ Let ( $i = $i + 1 ; $i > $layoutCount ) ]
Set Variable [ $currentName ; GetValue ( $myLayoutNames ; $i ) ]
If [ PatternCount ( $currentName ; "Form" ) ]
Set Variable [ $myFormList ; List ( $myFormList ; $currentName ) ]
Set Field [ Table::listOfFormLayouts ; $myFormList ]
PS: Could you please mark your posts that are questions as such?
Once again thanks so much for your quick response , i will have to digest that a bit.
btw i am sorry that it seems that i can't change it to a question anymore
this guy is amazing !!!!!