Maybe you are after a drop down datawindow.
- In the d_stockitem datawindow,
- select the locationid column,
- go to the Edit tab in properties for locationid, then
- choose dropdowndatawindow as edit type
- scroll down
- check verticalscrollbar if the user will actually be choosing location this way
- scroll further down
- in dataobject browse and choose d_locationd dataobject, ok
- for display column you can choose location_path
- for data column you must choose locationid (This is your linkage if you like)