Hi, James:
Assume you have made all other things correctly, I think what you need to do is: instead of Primary SDO link: THIS-OBJECT (source)--> TitleListSDO (target), use Data link: THIS-OBJECT (source)--> TitleListSDO (target).
The following is my working example.
Main window (Customer Window):
page0: afspfoldrw.w (SmartFolder)
page1: customerfullo (DynSdo), customerfullb (DynBrowse), standardtoolbar
links: Source
Link Name Target
customerfullo
Data
customerfullb
StandardToolbar
Navigation customerfullo
afspfoldrw.w
Page
THIS-OBJECT
customerfullo
Data
THIS-OBJECT (I find this link is not necessarily to be defined, because
even without defining it, my application still works well. So I think,
by default, the program knows how to figure this out in this kind of case.)
In Dynamic Property Sheet of customerfullb, specify the attribute "FolderWindowToLaunch"
to be the name of the Secondary (maintenance) window: orderwin.
Secondary (maintenance) window (orderwin):
page0:
Objects:
orderfullo (DynSDO), orderfullb (DynBrowse), orderviewv (DynViewv),
StandardToolbar
Links:
Source
Link Name
Target
orderfullo
Data
orderfullb
orderfullo
Data
orderviewv
THIS-OBJECT
Data
orderfullo
StandardToolbar
Navigation
orderfullo
StandardToolbar
TableIO
orderviewv
orderviewv
Update
orderfullo
For orderfullo, specify the foreign key: Order.CustNum,CustNum
After CustWin is launched, double-click on a customer record in the browse to select and launch the order maintenance window for this customer, all orders displayed in the launched maintenance window is for this customer. Everything works fine as expected, like read, update, create. And Navigating the CustWin has good sync with orderwin because order records there get updated for the selected customer.
Hope it helps.
Note: I use Progress 91D01 + Progress Dynamics 2.0A
Regards,
Yongjian
James Burts wrote:
I am trying to create an interface where the Primary window launches a
secondary window, and the SDO of the secondary window is linked to the SDO
on the primary.I've read everything I can find on it, and have things set up as follows:
Main Window:
Data link: TitleSDO (source) --> THIS-OBJECT (target)
Secondary Window:
Primary SDO link: THIS-OBJECT (source)--> TitleListSDO (target)
Foreign Fields: Title.TitleObj,TitleObjThe SDO on the secondary window is just behaving like it is completely
independant. It doesn't seem to pick up the links I want at all.I know I must be missing something simple, but I can't figure it out for my
life!--James--
James Burts james@klas.com
Keystone Systems, Inc. 919-782-1143
Manager of Software Development Raleigh, NC---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org
For additional commands, e-mail: dev-help@icf.possenet.org
--
Yongjian Gu
email: ygu@progress.com
Tel: (781) 280-4694 (w)
Progress Software Corporation
14 Oak Park, Bedford, MA, USA 01730
www.progress.com