T.R | Title | User | Personal Name | Date | Lines |
---|
88.1 | Use an ARG and WRITE ADD instead? | BUFFER::VICKERS | Winners take action not keep score | Mon Feb 24 1992 22:57 | 12 |
| Martin,
I don't know of any really good ways to change the messages created by
the ENTRY form processing. I believe that you might be better off
using ONE_ENTRY_EXTRA as an ARG form and add the record via a WRITE ADD
or DATA_FILE function following the IFEXIT in the menu named data.
You'd want to have a /INVALID qualifier on the POSTREF field to be sure
that the new name is not already on file.
Hope this helps,
don
|
88.2 | ARG form! | SCOTTC::MARSHALL | Pearl-white, but slightly shop-soiled | Tue Feb 25 1992 11:30 | 11 |
| I agree with .1 that ONE_ENTRY_EXTRA should be an ARG form.
The point of an ENTRY form is that ALL the fields on it map to (and are usually
the definition of) the structure of records in a single file. As this is not
what your form is doing, it shouldn't be an entry form.
But taking a step back, I don't see why you need the two files; perhaps you
could explain what you wish to do, which might make it easier to suggest a
solution to your problem.
Scott
|
88.3 | /DATA for different layout's | UTRTSC::BOSMAN | We're just sugar mice in the rain | Tue Feb 25 1992 11:56 | 10 |
| Hi,
I disagree. Using the /DATA qualifier can let you use several layout's
and they surely don't have to match. ALL-IN-1 determines which fields
match by comparing field names and processes the form accordingly.
So you can have an ENTRY form with fields on it that do not exist as a
field in the record.
Sjaak.
|
88.4 | ENTRY forms happen in two phases | IOSG::SHOVE | Dave Shove -- REO-D/3C | Tue Feb 25 1992 13:39 | 15 |
| Scott's sort-of right.
ENTRY forms are processed in two phases (see AP Guide) - the first
phase handles the key processing, the second the (non-key) data fields.
What you've done is to create a situation where the second phase has
nothing to do. Hence the confusion.
ENTRY forms don't work properly unless there's at least one field which
isn't a key (or part of one).
I think you'll have to use an ARG form with WRITEs to write the data to
the file.
D.
|
88.5 | | UTRTSC::BOSMAN | We're just sugar mice in the rain | Tue Feb 25 1992 14:14 | 5 |
| It would be nice if that kind of information will be documented ;-)
See Page 8-6 of the Guide. It only tells us to specify the key field
with /KEY.
Sjaak.
|
88.6 | It sort-of is documented | IOSG::SHOVE | Dave Shove -- REO-D/3C | Tue Feb 25 1992 16:36 | 3 |
| It's documented, in a way, in the flow chart at the end of chapter 8.
D.
|