Get Relations

Hi,

I wonder if it is possible ( in a method) to get the relations “under” another relation.

For instance i have forms.form1.relation1

there are relations “under” relation1 :

forms.form1.relation1.relationa
forms.form1.relation1.relationb

Is it possible to loop trough the relations “under” forms.form1.relation1 in order to get relationa and relationb ??

Regards,

Hans

Asking the question leads to the answer without anybody answering.
The forum works that way too ;-)

for (i = 0; i < forms[_form].allrelations.length; i++) {
  var table = databaseManager.getTable(forms[_form][forms[_form].allrelations[i]])
  application.output(table.getSQLName() + ' - ' + solutionModel.getRelations(server,table.getSQLName()))	
}

Hans