|
-
October 15th, 2001, 07:47 AM
#1
User defined data types
Hello guru's
I am trying to send a recordset from VB to a com platform, but have strange problems with user defined data types (i'm a beginner in VB..)
When i try to compile the app. I get the errormessage: "user defined data type not defined" and the compiler marks all of the code i've pasted in here:
Public Function DoPafSearch( _
ByVal FullPostCode As String, _
ByVal BuildingNumOrName As String, _
Optional ByVal OrganisationName As String = "", _
Optional ByVal ThoroughfareName As String = "", _
Optional ByVal PostalTownName As String = "", _
Optional ByVal CountyName As String = "", _
Optional ByVal IndividualFamilyName As String = "", _
Optional ByVal MinSearchQuality As Long = 80, _
Optional ByVal UsePAFTags As Boolean = True, _
Optional ByVal MaxDisplay As Long = 50, _
Optional ByVal OccupantNamesReturnInd As Boolean = False _
) As ADOR.Recordset
Do anyone know how to define this correct?
K.
-
October 15th, 2001, 08:44 AM
#2
Re: User defined data types
Make sure that you referenced ADO library.
dim rs as ADODB.Recordset
Iouri Boutchkine
[email protected]
-
October 15th, 2001, 08:46 AM
#3
Re: User defined data types
I think you should check that both the Client and the Component are referencing the ADOR library.
HTH
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|