Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shape language
Message
From
12/11/2003 13:11:25
 
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Shape language
Miscellaneous
Thread ID:
00849177
Message ID:
00849177
Views:
63
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?
Reply
Map
View

Click here to load this message in the networking platform