General information
Category:
Coding, syntax & commands
>Just out of curiosity, I do not use any prg's but rather elected to create custom object with all calls that I need. Each custom object can be added at the form level or the app object level and seems to work very well for me.
>I find it very easy to locate each method and property declared in the custom object and never could figure out why bothering with the prg's
>
>What benefits are there to the prg approach that I am missing?
Well, for me, I guess that's just the way I learned. Your method seems fine too.
I don't know what the memory footprint is, but if you created an instance of the utility object at the form level, you would have an instance of it for each open form. In my app, each user may have up to 15 open forms. Even so, I don't see how that could create any problems.
An app instance certainly seems like a resonable scenario here.
I might play around with this just for grins. Seems like a more OO approach.
Previous
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