I have had this anomaly happen to me many times using RCode. Not just EEPs.
It appears RBase has a hook on the file and you have to quit the RBase
session to save the file.
Mike
----- Original Message -----
From: "J. Andrus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 7:18 AM
Subject: RE: Push Button Actions - Razzak's Reply
> Razzak,
> In stepping through your suggestions and in preparation to respond to
Oma's
> 06/13/01 1:00PM message I encountered something unusual which probably is
a
> factor in my problem.
> Using RCODE as my editor I went through each EEP checking with RSTYLE.
All
> showed no errors and could be saved without a problem except HELPSKIP.EEP.
> Since I had not run RSTYLE on that file before it made the caps/lower case
> format corrections, and when I tried to save it I got "Cannot create file
> C:\rbti\rbwin65\myfiles\contractor\helpskip.eep". The only way I can save
> the changes made by RSTYLE to HELPSKIP.EEP is to exit the RBASE session
and
> start over. It works OK then. It is as though HELPSKIP.EEP is still in
use
> and can't be modified until it is closed by ending the session.
> This is HELPSKIP.EEP which is executed when leaving the last field on the
> form before the HELP button which I want to by-pass.
>
> ===================================
> --HELPSKIP.EEP
> --Exit from VMEAID in FTran & FTran2
>
> SAVEROW
> NEWROW
> SKIP TO vtype
> RETURN
> ===================================
>
> Perhaps significant to the "Insufficient memory..." problem (not
> necessarily the "Cannot create...") problem is that I run TALLRUD.EEP
after
> the row is saved.
>
> ================================================================
> --TALLDRUD.EEP
> --Run after row saved in FORD, FCAT, FPROJ, FTRAN, FTRAN2,& FCONT
> --Record changes to tables TOrd, TCat, TProj, TTran, and TCont
>
> RECALC
>
> --Identify table being updated
> SET VAR vftbl = (#FORM_TABLENAME)
> --Identify that table's Activity Table
> SET VAR vftbl = (.vftbl + 'r')
> --Update appropriate Activity Table
> INSERT INTO .vftbl (lad,lac) VALUES (.vlad,.vlac)
> --INSERT INTO tordr (lad, lac) VALUES (.vlad,.vlac)
> RETURN
> ===================================================================
>
> Clearing all variables and checking the form expressions didn't show any
> errors.
> All EEPs checked by RSTYLE showed no errors.
> When running the form I get no other error messages .
> The TTran table and its activity table TTranR are both updated correctly
> using all three modes of running the form.
> As I mentioned in earlier posts, the "Insufficient memory..." problem does
> not occur when running the form from OBJ MGR, only from the R> and my
> application.
>
> Jim
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of A. Razzak Memon
> > Sent: Wednesday, June 13, 2001 12:04 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Push Button Actions - Razzak's Reply
> >
> >
> >
> > Jim,
> >
> > That message typically means that you have a variable or
> > expression in the form which either missing a required
> > variable or has a different data type!
> >
> > Solution:
> >
> > CLEAR ALL VAR
> > FORM FormName
> >
> > Check the -ERROR- message and all Expressions!
> >
> > Also, check your command file, any Entry or Exit EEPs for
> > required variable(s) and their data type.
> >
> > You may also want to check the balanced parenthesis used
> > in any expression(s) in EEPs. Forms Designer will give
> > you the -ERROR- if not balanced. But, YOU have to take
> > care of that in EEPs or Command Files, if not balanced.
> >
> > Use R:STYLE 2000 (must have productivity tool) to fix
> > such boo-boos!
> >
> > Have Fun!
> >
> > Very Best Regards,
> >
> > Razzak.
> >
> > At 10:42 AM 6/13/01 -0400, Jim Andrus wrote:
> >
> > >... when running from my command file (which uses a simple
> > >"enter FTRAN2 caption....") I get "Insufficient memory to
> > >continue this application." when exiting VMEAID...
> >
> > ===================================-============================
> > Official R:BASE List Server: mailto:[EMAIL PROTECTED]
> > RBTI Events/Training: http://www.rbase2000.com/events
> > R:DCC Members: http://www.rbase2000.com/rdcc
> > ================================================================
> > R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
> > ==================================-=============================
> >
>