[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

931.0. "DOCCREATE and Template not existing" by VNABRW::EHRLICH_K (Karl 'Charly' Ehrlich) Thu Jun 25 1992 14:57

Hi all, 

Customer using ALL-IN-1 V2.4 (German Version, we are from Austria).

First I must honestly say, that I've no knowledge in ALL-IN-1 programming,
but this I'll do asap.

Please can somebody help me in following problem:

WP C  a Document using Name = xxxxx         (In German TX E) 
NEXT SCREEN
TAB
TAB
now enter a wrong name for a template.
After pressing Return you go back to the first page w/o error message
displayed, that the template doesn't exist.


I've found the right place in DOCCREATE.SCP.

.LABEL SET_UP_DOC
        CAB SELECT #SETFOLDER,#SETDOCNUM,#SETTITLE,#SETDOC
        .IF OA$STATUS == 1 THEN .GOTO GOT_DOC
!       FORM DOCDSC/BEGIN=SETFOLDER/PRE="DISPLAY Can't find that template docum
        FORM DOCDSC/BEGIN=SETFOLDER/PRE="GET OA$DISPLAY=OA$_WP_NOTEMPDOC"
        .GOTO TOP


But the Error Message isn't displayed. You'll see it only with GOLD-W.
My customer now wants, that this message is displayed on the screen and
the user could stay in this field to change the name of the document.

Please help an poor nonprogramming Austrian TSC
  
Thanks a lot
charly
    
    
T.RTitleUserPersonal
Name
DateLines
931.1Problem is in the Named DataSHALOT::TROTTAStill crazy after all these EARSThu Jun 25 1992 16:5711
    It seems to me the culprit is the Named Data of the SETFOLDER field of
    the DOCDSC form which says  
    /PRE="GET OA$DISPLAY=OA$_DOCDSC_ENTERINFO_SETUP".  My V2.4 doesn't have
    that symbol defined, so it's overlaying the other message (with
    nothing).
    
    Since the symbol doesn't exist, I would say to remove that line and your
    message should now display.

    -- Paul
    
931.2Template handling at DOCCREATE (Moved from 1405 by GAP)VNABRW::EHRLICH_KFear of the Dark ...Mon Sep 14 1992 11:3858
Hi

regarding to my Note 931.0 my customer wants to know, what he can
do, to prevent falling back to FORM DOCDSC if the templatedocument
can't be found (from FORM DOCDS2). Using ALL-IN-1 V2.4 up to K603.
I've reproduced this in our Office, too. 

See following example:

WP C   

                           Creating New Document

Folder:  TEST

Title:   Test

Keywords:


       Enter information and press RETURN,
       or press NEXT SCREEN for more fields                          (more...)


                          Additional Fields for Create

Author:    Karl EHRLICH @AUI
Handling:

                               Template Document
Folder:  SDSDFSDSD	>>>>  doesn't exist	
Title:   ssss		>>>>  Warning appears, doesn't exist
Number:

and here after pressing RETURN again, you'll get back to DOCDSC Form.

                           Creating New Document

Folder:  TEST

Title:			   >>>>> Field is blank   

Keywords:


       Enter information and press RETURN,
       or press NEXT SCREEN for more fields                          (more...)

Input Required <<<<<<
 

Many thanks for your suggestions and I am very happy about every kind of help 

Best regards


Charly_from_CSC Vienna / Austria 
    
931.3Solved!VNABRW::EHRLICH_KFear of the Dark ...Mon Sep 14 1992 16:1322
Hi, 

here's what the customer and I have found.

If there's something wrong with the templatedocument then
the form DOCDSC will be called from DOCCREATE.SCP again.	
But here the field TITLE is initialized by /GET_SAVE=#CREATE_TITLE
If this field is empty and you press RETURN you'll get back to
form DOCDSC because TITLE must be specified (message: input required!)
Solution: Insert this in DOCCREATE.SCP before the form DOCDSC is executed: 

.LABEL SET_UP_DOC
	CAB SELECT #SETFOLDER,#SETDOCNUM,#SETTITLE,#SETDOC
	.IF OA$STATUS == 1 THEN .GOTO GOT_DOC
!	FORM DOCDSC/BEGIN=SETFOLDER/PRE="DISPLAY Can't find that template document"
   GET #CREATE_TITLE = #TITLE     !<<<<< This is it >>>>>
	FORM DOCDSC/BEGIN=SETFOLDER/PRE="GET OA$DISPLAY=OA$_WP_NOTEMPDOC"
	.GOTO TOP

Have fun
Charly_from_CSC Vienna /Austria