Ciao ciro78.
Di norma così dovrebbe funzionare:
codice:
' ...... ..... .....
RST.Source = "SELECT Campo1 FROM TblProva;"
RST.Open , Con, adOpenDynamic, adLockOptimistic
' Controlla che il DB contenga i dati da visualizzare\stampare:
If RST.EOF = False And RST.BOF = False Then
' Assegna il riferimento all'oggetto:
Set DReport.DataSource = RST
' Inserisce i dati nei controlli del DataReport:
With DReport.Sections("Section1")
.Controls("Txt1").DataField = "Campo1"
End With
' ........ ....... .......