|
|
#1 |
|
Addicted Member
Join Date: Aug 05
Posts: 150
![]() |
Very Strange Error in Datareport!!!
I placed a label on a datareport
Then I typed the following command Private sub Command1_click() Dim rs as new adodb.recordset set rs=cm.execute("select sysdate from dual") set datareport1.datasource=rs datareport1.sections("section1").contorls.itme("label1").caption="HI" datareport1.show I run the program and I follow what it is doing by click on F8 , and every thing seams to be allright , I see the a report with the word HI in it. Now when I click on the button , without breaking the code or pressing F8 , I get an error message saying ( Operation is not allowed when the object is closed!) What is going on , can someone explain this to me ? |
|
|
|
|
|
#2 | |
|
PowerPoster
Join Date: Apr 05
Location: Debug.Print
Posts: 3,588
![]() |
Re: Very Strange Error in Datareport!!!
Quote:
VB Code:
__________________
A+, e-Biz+, i-Net+, MCDST, MCP, Network+, Security+, A.A.S (Hons.) Visual Basic .NET Video Tutorials | Login Form using backend database (.NET) | Useful site for sending email through .NET | Encrypt/Decrypt data in SQL Server 2005 using SQL statements | Writing Managed Stored Procedures in SQL Server 2005 | FREE .NET Calendar Control | Useful WinForm Controls | Regular Expression (Rexex) Library What I am using: Microsoft Visual Basic Professional 2005 with .NET Framework 2.0 and Microsoft SQL Server 2005 or MySQL |
|
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|