T.R | Title | User | Personal Name | Date | Lines |
---|
1783.1 | Ouch - that's my foot I shot | A1VAX::BARTH | Special K | Mon Nov 16 1992 15:43 | 18 |
| Here's the part that matters:
>She wants to set the LANGUAGE field on WPPARG3 to No Echo, Display Only. She
>removed all named data for that field.
Without #PRT_HYPHEN_LANG getting set to a number, you will get an integer
conversion error. The number corresponds to the valid language to be used
for the current document.
Maybe your customer needs a little of that named data, eh?
How about just changing the field to display-only, noecho, and leave the
named data alone? Or tweak the ND so that it initializes to the value
needed by the customer and then stores it in #PRT_HYPHEN_LANG?
Someone did a "Ready. Shoot. Aim." I hear it works better in a different
order. :^)
~K.
|
1783.2 | SHOOT!! it still didn't work | OASS::VALDEZ_C | A smile is the same in any language | Mon Nov 16 1992 18:50 | 16 |
| Hi Karl,
Thanks for the reply. I did try leaving the named data alone but still got
the error. I also tried things like removing the /VALID & /RECOG and leaving
the /GET_SAVE but no luck. Then I tried setting the /GET_SAVE='2' (2 seems to
translate to AMERICAN,) but that still failed. I also tried some things with
the /PRE on .TYPE.
The thing that puzzles me (well one of the things) is that I don't get an
error when I leave WPPARG3. It's the P option on WPPARG1 that seems to
generate the error.
Thanks again.
Cindy
|
1783.3 | You've got to be close...let's finish it off | A1VAX::BARTH | Special K | Tue Nov 17 1992 15:34 | 19 |
| The error happens when #PRT_HYPHEN_LANG is used (on WPPARG1) and it
doesn't have a numeric value.
Changing the /POST on the form named data (.TYPE) might not do the trick
if WPPARG1 grabs the value from WPPARG3 before the postprocessing happens
on WPPARG3. (Frank Nicodem would've written 6 pages about why that can
happen - let's just say that it can...:^)
Ideas:
- change the default FMS value to 2
- modify the /PUT_SAVE as well as the /GET stuff
- put a form/field /PRE="GET #PRT_HYPHEN_LANG='2'" into named data
Some combination of the above, with what you've already tried, should
get you where you need to be.
I hope there's something here that helps.
~K.
|
1783.4 | We finished it off! | OASS::VALDEZ_C | A smile is the same in any language | Tue Nov 17 1992 22:37 | 27 |
| > The error happens when #PRT_HYPHEN_LANG is used (on WPPARG1) and it
> doesn't have a numeric value.
THANK YOU, Karl!!!
Thanks to your direction, I started from scratch AGAIN. I left all named data
on the field and just changed the /POST on the .TYPE. I changed the /POST
from
/POST='.IF OA$FORM_DISPOSE EQS "0" THEN GET #PRT_HYPHEN_LANG=#INIT_LANG'
to
/POST='GET #PRT_HYPHEN_LANG=#INIT_LANG'
and it worked. Apparently I was trying too many combinations before.
> (Frank Nicodem would've written 6 pages about why that can
> happen - let's just say that it can...:^)
I miss Frank and his small tomes. Maybe some day he'll REALLy write a book.
:-)
Thank you very much; my customer will be so excited.
Cindy
|
1783.5 | Book writing | SIOG::T_REDMOND | Thoughts of an Idle Mind | Wed Nov 18 1992 11:49 | 4 |
| >I miss Frank and his small tomes. Maybe some day he'll REALLy write a book.
>:-)
***Gosh!*** Competition from Frank....
|