I'm using MSSQL2k
Is it possible to do late binding of a report source in Access?
Where clsSuggestion has member:
I'm getting an error: Data type mismatch. Why?
Randall Vollen
National City Bank Corp.
Is it possible to do late binding of a report source in Access?
Code:
Private Sub Report_Open(Cancel As Integer)
Dim objSuggestion As New clsSuggestion
Me.RecordSource = objSuggestion.FetchAllRecordsReportView
End Sub
Where clsSuggestion has member:
Code:
Public Function FetchAllRecordsReportView() As ADODB.RecordSet
Dim rst As New ADODB.RecordSet
rst.Open GetFetchReportViewSQL, cn, adOpenKeyset, adLockOptimistic
Set FetchAllRecordsReportView = rst
End Function
Randall Vollen
National City Bank Corp.