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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
https://www.experts-exchange.com/questions/20957699/HELP-I-need-a-little-help.html?query=User-defined+type+not+defined+datasource&clearTAFilter=true
https://www.experts-exchange.com/questions/20297357/ActiveX-control-and-Datasource-ie-bind-my-activeX-ctrl-to-ADO-control.html?query=User-defined+type+not+defined+datasource&clearTAFilter=true