General information
Category:
Coding, syntax & commands
Title:
Biz Objects..create programatically or with Class builder
I am considering using a business object for part of an app.
Up until now I have always created my procedures as methods on the form or called them from procedure libraries.
I sub classed the custom object and dropped a copy of the sub class onto the form I want to use.
However I am finding working with this class cumbersome because all the new code I am adding to the class belongs in its parent class and not the instance I am working with on the form.
Using Ken Levy’s superclass utility I can make reasonable progress but it is still infuriating.
I could write the entire biz object programmatically I guess (with additional work!) , but then I would be left with the problem of getting the class visible in my class library.
I assume I have somehow gotten the wrong end of the stick here somehow and there is an easier way I have overlooked.
All advice gratefully receivedJ even if it is of the “you don’t get n-tier without some pain variety”
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only