James,

In general this is what I do.


Form1 contains the listview. Form2 contains the editable data.

So in the variable listview in Form1 you have the Double clik eep with

EDIT USING Form2

CLOSEWINDOW

RETURN


What that means is when you are done with Form2 it closes and Form1 should 
still be there.

I hope that explains it.


I don't see in your double-click eep where you are calling the second form.


Jan



-----Original Message-----
 From: "Jim Belisle" <[email protected]>
 To: [email protected] (RBASE-L Mailing List)
 Date: Tue, 17 Apr 2012 16:52:02 -0500
 Subject: [RBASE-L] - Re: VARLISTVIEW


Jan,

  

 I had to step away for a bit. I do have a closewindow statement that
 closes the form.

 When I take that out, then my next form will not come up.

  

 Code in the main Bit Button EEP to bring up the Var list view form:

  

 EDIT USING KPRVarR_Quotes (this is the var list view with radio group)

  

 On b4 start EEP for above form:

 CLEAR VAR vKeyWord,vQuoteID,vWhereClause,vSearchWhat,vSearchString

 SET VAR vKeyWord TEXT = NULL

 SET VAR vQuoteID TEXT = NULL

 SET VAR vSearchwhat TEXT = NULL

 SET VAR vSearchString TEXT = NULL

 SET VAR vWhereClause TEXT = NULL

 SET VAR vListItemCount TEXT = NULL

 SET VAR vQuotes = (CVAL('QUOTES'))

 SET VAR vMany = (CVAL('MANY'))

 RECALC VARIABLES

 RETURN

  

 On after start EEP for above form:

 PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE'

 PROPERTY RBASE_FORM DONTSHOWDELETEDIALOG 'TRUE'

 PROPERTY Comp_RadioG SET_FOCUS 'TRUE'

 RETURN

  

 On Doubleclick EEP for above:

  

 IF vQuoteID IS NULL OR (SLEN(CTXT(.vQuoteID))) = 0 THEN

    RETURN

 ELSE

    SET VAR vRows = 1

    SET VAR vFormMode = 'EDIT'

    PROPERTY Btn_Close VISIBLE 'TRUE'

 ENDIF

 RETURN

  

 If I keep the closewindow line in the Dbl click EEP, the next form comes
 up.

 If I use just the code above, the Varlist view stays and the other form
 does not come up.

  

 The code in the main Bit Button EEP that should run when I choose the
 QuotID should create temp tables for the next form.

 Since everything stops, no code runs until I exit out of the varlistview
 form.

 Is there some code I need to add?

  

 James Belisle

  

 Making Information Systems People Friendly Since 1990

  

  

 ________________________________

 From: [email protected] [mailto:[email protected]] On Behalf Of jan
 johansen
 Sent: Tuesday, April 17, 2012 2:54 PM
 To: RBASE-L Mailing List
 Subject: [RBASE-L] - Re: VARLISTVIEW

  

 James,

  

 I'm a bit confused. You must have something set up differently.

 Currently my VarListView form remains until I close the VarList form.

  

 Jan

    

    -----Original Message-----
    From: "Jim Belisle" <[email protected]>
    To: [email protected] (RBASE-L Mailing List)
    Date: Tue, 17 Apr 2012 14:44:29 -0500
    Subject: [RBASE-L] - VARLISTVIEW

    When checking on Quotes my sales people use aN On Key Press
 Varlistview
    with a radio group control.
    
    Once they double click to bring up the quote, they want this to
 happen.
    
    Instead of the varlistview form closing, they want it to stay
 open (in
    the background).
    
    They want to be able to exit out of the second form and go back
 to the
    varlistview for so they can see the same choices.
    
    
    
    Ex. The varlistview form shows 10 quotes to a customer. They
 choose one
    to look at the complete detail.
    
    When done with that form, they exit the second form and it shows
 the
    varlistview form with the same choices.
    
    Now they can choose another to view.
    
    There would be a close button on the varlistview form for when
 they are
    done.
    
    
    
    James Belisle
    
    
    
    Making Information Systems People Friendly Since 1990
    
    
    
    
    
    
    

Reply via email to