Hi
I tend to use a custom class for the BO and leave the CA as the datalayer because my business objects are not modeled after tables but after some business entity like a Customer or an Invoice etc. Each of these business objects is represented by more than one table. So I tend to have a single BO with multiple CA's per form.
Simon
>Hi All,
>
>Pardon me if this is a stupid question, but:
>
>"Is it a good idea to subclass the CURSORADAPTER class and add properties, method to make it a DataLayer and/or Business Object class?"
>
>I have a business class based on the Custom baseclass, which only deals with VFP tables. Since I have been using the CursorAdapter for access to ODBC, and since it can also deal with Native tables, I was thinking of 'transforming' it into a 'business object' and/or 'data layer' all-in-one.
>
>Thanks for your insights and comments.
>
>Dennis
Simon White
dCipher Computing