LoadRecords problem

I’m having strange problems using a method I wrote months ago.
I have three forms based on the same table and using the same foundset.
If I use this method:

var nomeform = currentcontroller.getName()
 switch( nomeform )  
 {  // was currentcontroller.loadRecords(anagraficadummy)
	case "anagrafica":
//anagraficadummy is a k:k self-relationship
forms.anagrafica.loadRecords(anagraficadummy)
break;  
 case "anamnesi":
forms.anamnesi.loadRecords(anagraficadummy)
break;
 case "statistiche":

forms.statistiche.controller.loadRecords(anagraficadummy)
default:  
break;  
 }

The navigation from form to form seems to freeze (only with these three forms).
The navigation scripts I use are like this:

 if(globals.Reset_navigatore() != 1) 
 { 
 M-  M- return; //this stops your navigation script 
 }
forms.anagrafica.controller.show();
application.setWindowSize(1000, 770)
application.setWindowLocation(0, 0)
forms.navigatore.elements.puls_anag.fgcolor = '#0000cc'
forms.navigatore.elements.puls_anag.setFont('Verdana,1,14');

Using the debugger, the instruction forms.anagrafica.controller.show(); gives no error, but the form isn’t loaded.
If I replace the LoadRecords instruction with a search, the problem seems to disappear, so I think it’s something related to foundset handling.

Can you send me a sample solution?
I’ll have a look at this.