Click to See Complete Forum and Search --> : Data Aware Class
Clunietp
Nov 17th, 1999, 10:07 AM
Are you making a true data provider class (yucky) or do you just want to put your data access layer into a COM component (class) to hide the complexity from the user interface?
Richyroo
Nov 17th, 1999, 11:03 AM
Can someone provide me with a template for a data-aware class (ie mapping to an Customer table in database DSN XXX).
showing the retrieval of fields from the table into properties.
I can't find any documention anywhere
Thanks very much
Richyroo
Nov 17th, 1999, 03:06 PM
i was hoping to create a class 'cust' which could bind to a data record (eg customer.
When calling a method.. eg getcust, would populate all the properties (which map to fields on the record).
What do you think is the best way to go about this?
Is this what binding is?
Thanks for your help
Clunietp
Nov 18th, 1999, 12:22 AM
So you want to use your class like you would a data control? EEK! I've read about how to do it but it seemed more trouble than it was worth. Why don't you use the ADO data control instead?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.