At 12:58 PM 12/27/2012, Jim Belisle wrote:

I tried that as well

This is the code bringing up the 2nd form.
EDIT USING kayparkeditorder AS MDI

I still have to escape from the Onkeypress form (not associated with any
table) to see the new form.

This is the code when I double click on the varlisview form.
I commented the clear var and closewindow code for testing.

IF vControl IS NULL OR (SLEN(CTXT(.vControl))) = 0 THEN
   RETURN
ELSE
   SET VAR vRows = 1
   SET VAR vFormMode = 'EDIT'
   PROPERTY Btn_Close VISIBLE 'FALSE'
   PROPERTY Btn_Close VISIBLE 'TRUE'
--   CLEAR VAR IV%,RBTI_%,vRows,vKeyWord,vSearchString,vWhereClause, +
--   vQuotes,vPause2Message,vRows,vMany,vFormMode,vSearchWhat
--   CLOSEWINDOW
ENDIF
RETURN


Jim,

Remove the word "AS" from your EDIT command.

EDIT USING kayparkeditorder MDI

If you are specifying an alias for the form, you would use:

EDIT USING kayparkeditorder MDI AS kayparkeditorder_mdi

Best regards,

John Minyo II
Customer Service
R:BASE Technologies, Inc.
P: 1+724.733.0053
http://www.rbase.com
http://www.facebook.com/rbase

Reply via email to