[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1783.0. "INTEGER_CONVERSION error after modifying WPPARG3" by OASS::VALDEZ_C (A smile is the same in any language) Sun Nov 15 1992 20:00

HI,

I have a customer who is running ALL-IN-1 V2.4 and the WPSPLUS upgrade.  She 
wants to set the LANGUAGE field on WPPARG3 to No Echo, Display Only.  She 
removed all named data for that field.  Now, when she does a PRINT from the WP 
menu, presses {NEXT SCREEN} and then PG[CR} and [CR} to leave the PG (WPPARG3) 
form, and finally a PRINT WITH CURRENT SETTINGS, she gets the error Error 
occurred during operation : INTEGER_CONVERSION, and the document is never 
printed.  

I am able to duplicate this, but after much jiggling of the /PRE & /POST on 
WPPARG3 and looking at the trace log, I still can't figure out why this error 
occurs.  My symbol, #PRT_HYPHEN_LANG is correctly translated into AMERICAN.  

Can someone please shed some light on this.  The customer ABSOLUTELY wants to 
disalbe that LANGUAGE field.  Is that possible?

Thank you for any help.

Cindy (who doesn't even pretend to understand the OA$_WPL_ symbols)

T.RTitleUserPersonal
Name
DateLines
1783.1Ouch - that's my foot I shotA1VAX::BARTHSpecial KMon Nov 16 1992 15:4318
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.2SHOOT!! it still didn't workOASS::VALDEZ_CA smile is the same in any languageMon Nov 16 1992 18:5016
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.3You've got to be close...let's finish it offA1VAX::BARTHSpecial KTue Nov 17 1992 15:3419
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.4We finished it off!OASS::VALDEZ_CA smile is the same in any languageTue Nov 17 1992 22:3727
> 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.5Book writingSIOG::T_REDMONDThoughts of an Idle MindWed Nov 18 1992 11:494
>I miss Frank and his small tomes.  Maybe some day he'll REALLy write a book. 
>:-)
    
    ***Gosh!***  Competition from Frank....