Link to home
Start Free TrialLog in
Avatar of shawngilbert
shawngilbert

asked on

Could someone assist me with this code?

Hi again.  I am still copying this material from a textbook, but have again met with an obstacle.

After copying the form and class modules, when I run it, I get a "User-defined type not defined" on the following line (for DataSource):

'*****Property Procedures*****

Public Property Get Insurance() As DataSource
    'Expose the data source to bind to the DataCombo box
   
    Set Insurance = mDataService
End Property

Can anyone help me locate the problem?
ASKER CERTIFIED SOLUTION
Avatar of Preece
Preece
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shawngilbert
shawngilbert

ASKER

The only references the text mentions are to Microsoft Data Binding Collection and Microsoft ActiveX Data Objects 2.0 Library
Although I have added a reference to Microsoft Data Source Interfaces and it gets beyond that point.
Now I need to determine why it's failing from here.

Thank you for the assistance.