Subject Mervyn's Create_subForm
From trevor <bob@bob.com>
Date Thu, 03 Apr 2025 17:20:56 -0400
Newsgroups dbase.getting-started

Hi,

Using Mervyn's 'create_subform.wfm with sub_dele.wfm

resulting in sub_dele.sfm

Using    Amain.wfm with  just one component a push buuton (nothing
else) &following function in onOpen and onClick


function form_onOpen
   set procedure to sub_dele.sfm
   this.oSub = new sub_deleForm(this)
      return

function PUSHBUTTON1_onClick
      form.oSub.open()
      return

On clicking pushbutton I get:
Error: class does not exist
AMAINFORM:PUSHBUTTON!_ONCLICK

Any Ideas appreciated.