[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

95.0. "ALL-IN-1 V2.4 TM Reply Meeting Request" by WELCLU::LI (Sau Ha Li, Welwyn) Tue Feb 25 1992 14:02

    Hello,
    
    I did a DIR/TITLE=TM on ALL-IN-1_V24 and this conference, and did not 
    find a problem that is similar to mine. Therefore, can someone help 
    me with the problem below ?
    
    A customer want the TM Reply procedure works as follow:
    
    If the user cannot attend a meeting but want to schedule it then
    check if the user wants to 'mark' the event as information-only. If 
    yes, then modify the description of the event to I:<description of 
    event>. If not, the description remains unchange, as it is now.
    
    Possible solution:
    Customise the DO script TM_REPLY to prompt the user and change the 
    event description, if require. I think the event I want to change is 
    pointed by #CAL_ATTN_MEETING_POINTER and it is used by CAL REPLY 
    function. However, when I was trying to use the symbol in TM_REPLY, 
    the symbol is not defined/emptied. 
    
    Problem : where or how does the symbol get defined ?
    
    Form Reply -> calls TM_REPLY       -> executes CAL REPLY 
                  (symbol not defined)    (uses the symbol as input)
    
    
    * Other solutions to the customer's requirement are also welcome.
    
    Thanks in advance,
    Sau Ha
T.RTitleUserPersonal
Name
DateLines
95.1Possible, but requires _lots_ of changesSHALOT::LANPHEARTest the water or turn the tide?Tue Feb 25 1992 16:4443
    Sau Ha,
    
      What you are requesting is possible, but requires a few different
    customizations.  You can change the meeting description on the REPLY
    form by adding to either the /POST or to TM_REPLY.SCP.  For example,
    you can add the lines:
         
    	.IF #CAL_ATTN_RESPONSE EQS OA$NO THEN -
            get #cal_mtng_desc="I: " #cal_mtng_desc \\-
            write change cal$calendar %key=#CAL_KEY,DESCRIPTION=#cal_mtng_desc
    
    to TM_REPLY.SCP, and it will change the description as you indicated. 
    You may also wish to check OA$FORM_DISPOSE, or #REPLY_DISPOSE to make
    sure they pressed RETURN.
    
      However...  There is a significant problem with this approach, because 
    the description stored in the calendar file will not match the description
    stored in the meeting file.  This means that when they select from the "EV"
    screen (etc.?), the wrong title will be displayed.  This particular
    problem can be fixed by using CM to also update TMTMSPRE (DO) from:
    
      .LABEL CHECK
            .IF #TM_TYPE EQS "" THEN .GOTO FOUND_ONE
            .IF #TM_TYPE EQS "A" THEN CAL DISP APPOINTMENT #CAL_KEY -
>            ELSE CAL DISP MEETING #CAL_KEY
      ...
    to:
      .LABEL CHECK
            .IF #TM_TYPE EQS "" THEN .GOTO FOUND_ONE
            .IF #TM_TYPE EQS "A" THEN CAL DISP APPOINTMENT #CAL_KEY -
>            ELSE CAL DISP MEETING #CAL_KEY\-
>            GET #CAL_MTNG_DESC=CAL$CALENDAR.DESCRIPTION[#CAL_KEY]
      ...
    
      You'll also have to update the scripts TMTMSDOWN, etc. which
    perform the arrow key functions on the TM EV screen.  
    
    Of course, there could be something else I've missed, but that 
    should cover the scope of the customizations.  Make sure you thoroughly
    test these and all other customizations before moving them to a live
    system...  They worked for me, but your milage may vary.
    
    					Cheers, regards, Dan'l
95.2Is this the correct solution ?!WELCLU::LISau Ha Li, WelwynTue Mar 03 1992 17:0727
    Hello,
    
    Thank you for the suggestion.
    
    I have made a mistake in note .0. The symbol should be
    #cal_meeting_pointer and it is defined. I have added the following lines 
    to TM_REPLY:
    
    if the user wants to mark the event as information-only then 
    
    get #cal_mtng_desc = "I: " #cal_mtng_desc
    write change cal$meeting %key=#cal_meeting_pointer, -
    	meeting_purpose=#cal_mtng_desc
    
    for cal$calendar with .meeting_pointer == #cal_meeting_pointer -
    do write change cal$calendar %key=.%key,description=#cal_mtng_desc
    
    .goto memo_prompt
    
    
    I thinks it works, but I'll be testing properly next week.
    
    Meanwhile, can anyone see any fault in the code ?
    
    thanks,
    
    Sau Ha