kjoter
October 15th, 2001, 07:47 AM
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.
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.