Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shape language
Message
De
12/11/2003 13:11:25
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Shape language
Divers
Thread ID:
00849177
Message ID:
00849177
Vues:
64
i have this statement

strSQL = "SHAPE {SELECT * FROM TMP_ProductionPayment ORDER BY Shift, KnitterID} AS Payment COMPUTE Payment, SUM(Payment.Payment) AS SumPayment BY Shift"

i generate it in the dataenviroment.

and made a report of this object, then i clean up the datasource of the report.

at run-time i create a recordset from the shape statement

Set rs = cnCKMatrixShape.Execute(strSQL)

'I want to set the datasource of the report to the rs variable

Set rptKnitterPayment.DataSource = rs

but this does not work.

what do i have to do in order to make the report work using the rs variable?
Répondre
Fil
Voir

Click here to load this message in the networking platform