| 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 | 
This is a problem with scripts provided by Lotus 1-2-3/ALL-IN-1 V1.5. I have posted it here as the problem is apparent from ALL-IN-1 Indexes and requires the attention of people who understand ALL-IN-1 Application Programming (better than me). The symptoms of the problem are as follows; 1. Enter an ALL-IN-1 V3.0 Lotus 1-2-3/ALL-IN-1 V1.5 system and index a folder containing Lotus spreadsheets from WP or EM. 2. Attempt to edit a spreadsheet from the index you will receive the message; This is a Lotus 1-2-3 document; do you wish to continue? [Y/N] 3. Answer Y and nothing happens (the problem). 4. Further attempts to edit spreadsheets during that session will be successful. My investigation results are as follows; The initial attempt at editing does not continue due to a test of symbol OA$CURDOC_FORMAT (line 17 of L123A1_MENU_E.SCP) which is empty, and then branches to label WRONG_DSAB which exits without any useful error. The symbol was originaly "LOTUS 1-2-3" but when this test is performed it is blank. When first editing L123A1_INIT is run which uses CAB SET_DRAWER could it be this which is losing the context of OA$CURDOC_FORMAT. My feeling is that a temporary symbol is being set which should be a permanent symbol, hence why it works for the duration of the sessino. Thanks Aston Clarke UK CSC
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 3145.1 | Yes, probably SET_DRAWER | IOSG::CARLIN | Dick Carlin IOSG, Reading, England | Fri Aug 13 1993 19:16 | 10 | 
|     Yes, you're right. Although CAB SET_DRAWER will establish OA$CURDOC (to
    the last document accessed in that drawer) the OA$CURDOCxxx's won't be.
    A simple CAB CURRENT would do that.
    
    I don't know the Lotus scripts, could you give me a pointer to the ones
    in question. It doesn't look like a big change is needed (famous last
    words, the setting of drawer/document symbols in V3 did get a bit
    complicated).
    
    Dick
 | |||||
| 3145.2 | Files copied to IOSG:: | WAYOUT::CLARKE | Mon Aug 16 1993 16:56 | 13 | |
|     Dick
    
    Thanks for your attention to this, I have copied the following files to
    IOSG::
    
    123EFAIL.LOG - ALL-IN-1 trace of edit failure, note value of
    OA$CURDOC_FORMAT.
    L123A1_INIT.SCP
    L123A1_MENU_E.SCP
    
    Regards
    
    Aston
 | |||||
| 3145.3 | Any progress? | KERNEL::SMITHERSJ | Living on the culinary edge.... | Thu Aug 19 1993 09:56 | 4 | 
|     Has anyone had a chance to look at the scripts at all?
    
    Many thanks
    julia
 | |||||
| 3145.4 | Try this | IOSG::CARLIN | Dick Carlin IOSG, Reading, England | Thu Aug 19 1993 11:17 | 19 | 
|     Aston, Julia
    
    I don't have the "big picture" on the Lotus integration (what else
    calls L123A1_INIT.SCP etc), but it would seem that the following change
    to L123A1_INIT.SCP should help (add the CAB CURRENT line):
    
    !
    .IF $L123A1_DRAWER NES "" THEN CABINET SET_DRAWER $L123A1_DRAWER
    .IF OA$CURDWR EQS "" THEN CABINET SET_DRAWER
    .IF OA$CURDWR EQS "" THEN -
            GET #L123A1_CURRENT_DRAWER =FILECAB:INDICATOR.NAME["1"] ELSE -
            GET #L123A1_CURRENT_DRAWER = OA$CURDWR
    CABINET CURRENT
    !
    
    Perhaps we should be doing that in code as part of the CAB SET_DRAWER,
    but anyway the script change is easier for now.
    
    Dick
 | |||||