Okay, it's been a while and I probably never knew about this, if it was even
available when last I app-dev'd - is that a new verb? Anyway, can any of
y'all explain to me the subtleties and issues related to choosing the
location(s) of EEP's? The app' I'm working on can't get off the ground w/o
a few EEP's and I'm pulling out what little hair I have left trying to
figure out what works where and what are the pro's, con's, indications of
the different placements of EEP's. Over the weekend, I checked the sequence
of events and I believe that the following is correct :
Leave Section
Row Entry
Field Entry
Field Exit
Row Save --When Form.Field.Flag == "DIRTY"
Row Exit
Leave Section --When applicable
Now I'm having trouble figuring out why some of the commands in my code work
in one location and not in others. Specifically, I want to conditionally
"skip" a set of records w/in a region during an EDIT USING, but populate it
with our values for "SKIPPED" along the way, "-999" in the example below.
Each record to be edited only has one field to be modified, so navigation is
a bit simpler than with multiple editable fields.
If it helps y'all to help me, here's a set of code :
--------------------------------------------------------
--DEFieldEntry.FNP
--------------------------------------------------------
--For processing SKIP's when ACTIVE
--------------------------------------------------------
--Check SkipStatus for 0-Inactive/1-Active
IF vSkipToStatus = (1) THEN
--Check if THIS is the target VARName
IF vVARNameThis = (.vSkipToVARName) THEN
--It's a match, so de-activate SkipStatus & NULL-ify target VAR
SET VAR vSkipToStatus = 0
SET VAR vSkipToVARName = ""
--F/DEBUG, to display on form
SET VAR vCounter=0
ELSE
--F/DEBUG, to display on form
SET VAR vCounter=-999
--Update current record, which is being SKIPped
UPDATE +
RA_TEMP_LOADED +
SET +
ResponseInput = "-999" +
WHERE +
VARName = (.vVARNameThis)
-- SAVEROW
-- RECALC VARIABLES
-- RECALC TABLES
NEXTROW
ENDIF
ENDIF
RETURN
Thanks,
Steve in Memphis
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/