Using content of a record as deluge command/instruction

Using content of a record as deluge command/instruction

Hi all,

I am using a Stateless Form trying to update the value of a record that has the same name in different Forms within my application. As my application will grow I want to make this process as simple as possible so I created a Form called "CatForms" (with only one field called "FormName") that holds the name of the Forms that eventually need to be updated.:



The name of the field to be updated on each form is "recordtochange"
I want to know if there is a way in deluge to do the following:

for each Forma in CatForms 
{
 for each rec in (Forma.FormName)
 { 
rec.recordtochange = "newvalue";

// I need to invoke the actual content of Forma.FormName (ej. "Forma_Captura_PAT_Trimestral" or "Forma_Contactos_Socios"). 
This would prevent of having to update the code and writing a "for each" for every Form I create.

}
}

I am not sure if I explained myself
Thanks in advance!