[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Dataset get-changes get a subset

  • Thread starter Thread starter Håvard Danielsen
  • Start date Start date
Status
Not open for further replies.
H

Håvard Danielsen

Guest
You can have multiple datasets that contains the same buffers, so there is no need to do a buffer-copy to achieve this. You can achieve this with static dataset definitions or by creating dynamic datasets. The benefit with static definitions is that it is quick to define the datasets. The drawback is that you need to define buffers with different names in each dataset. This may cause problems if you have code that accesses buffers by name in other places. The buffer names disappears if you do a deep copy, so it will not be a problem on the appserver. The benefit with dynamic datasets is that the dynamic buffers can be defined wiih the same name as the table. The drawback with dynamic definitions is that the code is quite verbose. You should write some kind of library or utility for this, so it can be easy to use the next time. The chance is that once you realize the flexibility you can achieve by this you will use it a lot...

Continue reading...
 
Status
Not open for further replies.
Back
Top