Advanced PowerBuilder

HomePrevious Lesson: OLE Presentation Style DataWindow
Next Lesson: Summary

OLE Control In the DataWindow

OLE Presentation style allows you to display entire data in the OLE Server. Sometimes you may want to display data in the DataWindow and when the user selects, then you want to display in the OLE Server, say, MicroSoft PowerPoint. This can be accomplished by placing OLE control in any one of the traditional presentation style DataWindow.

Once you paint the DataWindow, select 'Insert > Cotrol > OLE Object' menu option and click wherever you want to place in the DataWindow control work place. Select the OLE server from the resulting prompt and create content in the OLE control and return back to PB. Click with the right mouse button on the placed OLE control and select Properties from popup menu and specify which columns data you want to display in the OLE Server from the 'data' tab.
HomePrevious Lesson: OLE Presentation Style DataWindow
Next Lesson: Summary