| Audrey,
Using /DATE=*PER causes to change the phantom data-set directly. If you
doesn't do that, the index will become inconsistent. Or you have to do
that using an extra line of code (WRITE CHANGE *PER ...).
To test, invoke PHPENT form from the index and change a record that is
also in the index (thus in the phantom data-set). You'll see that the
index won't be updated with your new value.
Sjaak.
|
| Sjaak,
Thanks for the help...but I'm still wondering...
This is what my index form named data looks like:
;;OA$_MO_EDIT;;
GET #MOVIE=*VIDEO.MOVIE[OA$SCROLL_ADDRESS]\
FORM VIDEO_ENTRY/MODE=CHANGE/SAVE_START=#MOVIE\
IFEXIT\
CLOSE_PRIOR\
OA$SCL_UPDATE\
OA$SCL_REFRESH
When I choose this option, the record seems to get updated in both the
data file and the scrolled region.
After I did the above, I invoked my entry form interactively from the
INDEX form and made a change to a record. You were right, when I
pressed EXIT SCREEN to get back to my INDEX form, the change was not
there. However, when I do the same thing from the INDEX in the
Personal Phone Directory index (where /DATA=*PER is coded), I get the
same results.
When I invoke the ENTRY form from within the INDEX, make a change to a
record, go to another subsystem,, come back to the Video Menu and
Recall Index - the change I made interactively is reflected!
So....anything else to help me out on this one?
Thanks.
audrey
|