> However, when I run it using EDIT USING formname, I
> get an access
> violation every time I close the form.  I've
> narrowed it down to the ON
> CLOSE EEP (see below).  

> >>>>>IF vnum1 = .vnum2 THEN
>   DROP tcolcheck
>   CLEAR ALL VAR
>   RETURN
> ELSE

The most obvious thing to look at is some kind of
involvement of the table tColCheck on your form.  Is
it used in a lookup?  As part of a list box
definition?  In  a WHERE clause somewhere?  

Is the access violation coming from RBEngine.DLL or
RBG7.EXE?  If the former, my bet is on that DROP
statement.  Try moving it outside the form.
--
Larry

Reply via email to