>******************************************************************** >* Description.......: pageEdit.Activate >* Calling Samples...: >* Parameter List....: >* Created by........: Nadya Nosonovsky 05/25/2000 10:02:36 AM >* Modified by.......: Nadya Nosonovsky 06/20/2000 01:27:00 PM >******************************************************************** >if recno('Camouflage') > 1 > thisform.cState = Camouflage.state > this.cmbTown.requery() > this.refresh() >endif>I added recno condition today in order to solve the aforementioned problem. However, with this condition added I get an error "Thisform can only be used within a method". Without this code the form runs fine. What exactly is the problem? The help doesn't clarify the situation at all.