ricordati di creare una connessione che si chiama "Con"codice:AxReportManX1.SetParamValue("LOGOINTESTAZIONE", immagineAzi) 'imposta il logo aziendale AxReportManX1.SetDatabaseConnectionString("Con", strConn) strsql = "SELECT * from tabella where cod=" & 6 AxReportManX1.SetDatasetSQL("DS", strsql) AxReportManX1.Preview = True AxReportManX1.Show() AxReportManX1.Execute()
ed un recordset di nome "DS",in questo modo gli passi la query e lui carica tutto