I have a datawindow that I need to populate with data from another datawindow. The problem is that the 2 datawindows are not in the same library. any suggesions?
If you need to have a replica of data in another datawindow, you may use the ShareData() functionality. It's so very easy to implement. You may have to synchronize the scrolling between the dws in the RowFocusChanged! event, if required. If you are using PFC, don't forget to of_SetUpdateable( FALSE ) for all the dws in the sharedata tree except the primary dw; otherwise, updates may be disguised. However, if you want to populate a range of/random data from one dw to another dw, you may use RowsCopy() function.
Existence of datawindows across libraries should not be a problem for sharing/copying data as long as you attach all those libraries to the Application's Library-path.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.