[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

207.0. "Index form in V2.4 problem" by YUPPY::DEWINTER (Chocolate?, Yeah!) Tue Mar 10 1992 15:15

    This is a problem to do with V2.4.
    
    My customer has the problem that if they select a record from an index
    forms phantom data set to edit this record and decide not to by
    pressing an exit screen, that this record, if you do not select another
    record from the phantom data set to work on, is being locked for the
    phantom data set. This results in the situation, that, if you leave the
    index form without using any other records, this record can not be
    updated from the normal menu. It will then after a while being stuck,
    an empty entry form, with no key value, but the curser will be in the
    second field as if you can start modifying the record.
    
    Is this a known problem and is there a know solution that I have missed
    in the notesfiles?
    
    I have tried it on our own systems and it is actually happening the
    same way. 
    
    Thanks in advance for any help or pointers to other notes that discuss
    this particular problem.
    
    Arjen
    
T.RTitleUserPersonal
Name
DateLines
207.1More infoUTRTSC::BOSMANWe're just sugar mice in the rainTue Mar 10 1992 15:247
    Arjen,
    
    Before trying anything ...
    ... could you give a specific example? F.i. does it occur in ANY index
    or only in specific ones? What is the key-sequence?
    
    Sjaak.
207.2here it isYUPPY::DEWINTERChocolate?, Yeah!Wed Mar 11 1992 08:2737
    Sjaak,
    
    I've actually tried it on the application that we create during the
    application programming course. I will have a go at other ones. But the
    customer actually had the same problem on there own node. The scenario
    is as follows.
    
    1) got to your application
    2) select the index option
    3) do Edit on a record that you select from the list of records in the
    phantom dataset. you will call the entry form from the index form via
    the created menu option.
    4) now, do NOT modify the record, but just press EXIT SCREEN to exit
    from the entry form back to the index form
    5) then decide to stop working with the index from, press EXIT SCREEN
    to go back to your application main menu
    6) now select the same record that you previously, on the index form
    abandoned with the EXIT SCREEN. 
    7) try now to Edit this same record from your normal menu. It will take
    longer than usual for ALL-IN-1 to respond, and when finally the entry
    form is put on your screen, you will find that it is empty, but the
    cursor will be placed in the first enterable field.
    
    The customer obviously has a different application than I have used,
    but has the same problem. 
    I have tried it in two applications, one with a single scrolled region, 
    one with 2 scrolled regions. On the single scrolled region it goes as
    described above. It only seems to be working properly if the phantom
    dataset is actually deleted.
    
    On the 2 scrolled region index form, is seems to be alright. It looks
    like a record locking problem to me. Is there a know function
    (undocumented) that will release the lock on the record?
    
    Thanks for your help.
    Arjen
    
207.3What part of V2.4 shows this?FORTY2::ASHGrahame Ash @REOWed Mar 11 1992 10:275
I can't reproduce this using the Nicknames 'application' in standard V2.4. Can 
you spot anything different in your application? Is it only your own 
applications which show this, or can you reproduce it in part of shipped V2.4?

grahame
207.4Opened phantom dataset UTRTSC::BOSMANWe're just sugar mice in the rainWed Mar 11 1992 10:3513
    Hi Arjen,
    
    I tried it on the Personal Phone Directory menu and was able to
    reproduce it. I think the trouble is caused by the phantom dataset *PER
    that is still opened when you returned to the menu. Closing it using
    the BIND_BREAK function will solve the problem.
    
    I don't know why the phantom dataset isn't being closed, maybe for
    recall index purposes. Unfortunatly, and maybe that is what you want
    know, I don't know if you can unlock the record having the phantom
    dataset still opened.
    
    Sjaak.
207.5BIND_BREAK on nicknames' indexUTRTSC::BOSMANWe're just sugar mice in the rainWed Mar 11 1992 10:417
    Grahame,
    
    Our replies crossed each other. The reason you can't reproduce this on
    nicknames is because of a BIND_BREAK in the POST_FUNCTION on its
    index-form. Have a look.
    
    Sjaak.
207.6thanksYUPPY::DEWINTERChocolate?, Yeah!Wed Mar 11 1992 13:577
    thanks for confirming this. The disadvantage of doing a BIND_BREAK is
    that you would have to rebuild the data-set.
    
    Oh well, thats life isn't it?
    
    Arjen
    
207.7OOps missed that oneAIMTEC::WICKS_AVote Bill'n'Opus for a weirder USAWed Mar 11 1992 16:4312
    Arjen,
    
    ... and don't forget an SPR against the Personal Phone Directory
    for this - please - it's reproducible in DIAMOND.
    
    You'll notice it doesn't happen in the Corporate Phone Directory or
    in Nicknames (as Grahame said) and we know the fix.
    
    regards,
    
    Andrew.D.Wicks (ex-directories developer)
                                                       
207.8another solution?YUPPY::DEWINTERChocolate?, Yeah!Thu Mar 12 1992 08:237
    Andrew,
    
    Is there another solution than BIND_BREAK on the data set? I'd be very
    interested to know.
    
    Arjen
    
207.9NoT that I know - sorryAIMTEC::WICKS_AVote Bill'n'Opus for a weirder USAThu Mar 12 1992 17:111