Recently had to address something similar. Read up on MessageRouter
(m_master.of_SendMessage, w_master.pfc_messagerouter, etc). It tries tries
to call w_master event, then current control, then last DW. This logic is
in the w_master.pfc_messagerouter event, so I simply override this event in
the screen redirect whatever events I want and then call ancestor for any
others. This way you don't need to fiddle with the menus, and seems the
logical place for directing the event calls.
Gary Hyland
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, December 02, 1999 3:32 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: PFCSIG Master Detail
Francis,
There may be a more elegant solution but my first thought is to over-ride
the functionality of the Master DW so that it is redirected to the Detail
DW. That is you would override the pfc_AddRow() and pfc_InsertRow()events
of the Master DW with the following:
( In pfc_InsertRow() event of Master DW)
<DetailDW>.EVENT pfc_InsertRow()
( In pfc_AddRow() event of Master DW)
<DetailDW>.EVENT pfc_AddRow()
Hay, do you think with my last name I might be Belgian?
Lester LaForce
Consultant, COMSYS
Washington DC area
U.S. Army, Personnel Information Systems Directorate
-----Original Message-----
From: FRAIKIN Francis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 01, 1999 11:10 AM
To: [EMAIL PROTECTED]
Subject: PFCSIG Master Detail
I have two linked dw (based on u_dw) of the same table in one sheet.
The first dw is a tabular dw (master) and the second is a free dw (detail)
wich is in an u_tab object.
Is it possible (and how) to force the use of the free dw to insert or
modify data?
The m_dw menu of the dw master is disable.
The problem is that the item Add of the m_sheet menu add a row in
the dw master when the focus is on this dw.
I want to add the row in the free dw and put th focus on this row.
_______________________________________________________
Francis FRAIKIN
MET - IG42 Tel : +32-4-2545816
Rue Cote d'Or 253 Fax : +32-4-2530405
B-4000 LIEGE E-mail : [EMAIL PROTECTED]
BELGIUM
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]