Hi everybody!

Hi everybody!

I have an application with quite a few Dataset's linked to grids and control's. Now, the code isnt exactly organized well and i want to refactor it to a more OOP fashion. But i still need to do a lot of loop's through the rows a do lots of validations and alter fields (not very nice when the controls are binded to a grid)

I've read a lot of information but i cant seem to quite grasp what should i use to get the binding powers of datasets, and still get to have separated, clean code, reggarding each dataset.

I guess what i'm asking is, should i still use datasets, or can i do my own classes and bind them somehow to the controls?

Comments

  1. Sounds like maybe you need to start by moving some of that TTool specific logic into the date module rather than having it spread out across six forms. Keeping that sort of stuff together and isolated is what data modules are for :)

    ReplyDelete
  2. That's sounds very useful... i got to try something like that.

    Thank you

    ReplyDelete
  3. Seems interesting Randy Sill ! I'm interested in using your ORM, do you provide it or is it proprietary?

    ReplyDelete

Post a Comment