Branching & Return

In the midst of a forms.peoAnalysis method I have the following:

if (databaseManager.hasRecords(peoid$peo_to_pho))
{
	forms.phonesAnalysis.controller.loadRecords(peoid$peo_to_pho);
	forms.phonesAnalysis.deleteBlanks();
}

Two entirely different tables and forms. When it comes back the current record is no longer the same as when it departed.

Why the jump and what can I do to ensure the method is still on the same record when it returns?

are the forms based on the same table?
what does deleteBlanks do?
Is it possible that you do something with records in that form that has effect on the other form?

Can i see it somehow?

jcompagner:
are the forms based on the same table?
what does deleteBlanks do?
Is it possible that you do something with records in that form that has effect on the other form?

Can i see it somehow?

No, the forms are NOT based on the same table.

The routine tests whether there are any related eMail or phone records to the current record, if there are goes there and loops through them looking for incomplete records. If incomplete, deletes it. After reviewing these records it returns.

It’s not mandatory the record in the primary table have an eMail or phone record. I can’t see how removing records from the other table should have any effect on the primary table.

Will take another look at what’s going on here and if still stumped will prep a sample solution.