Schultz’s PowerBuilder Notes

Writing Reusable code

Use DYNAMIC keyword

Of _GetRow( powerobject ldw )

Choose case TypeOf( ldw )
   Case DataStore!, DataWindowChild!, DataWindow!
      Return ldw.Dynamic GetRow()
   Case Else
      Return –1
End Choose

May 9, 2008 - Posted by rick130 | 2. Datawindows, Datawindow PowerScript, Powerscript | , , , | No Comments Yet

No comments yet.

Leave a comment