dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: DataEnvironment

  1. #1
    Join Date
    Nov 2006
    Posts
    13

    DataEnvironment

    hi,
    I'm using VB 6.0 and 'Datareport' and 'DataEnvironment' to generate a report. I have got a 'Form' which contains a command button only with caption 'Show report' . The command button contain code " DataReport1.Show" When i run the form, an error indicating "Failed getting Rowset(s) from current data source" and also when i double click on the 'DataEnvironment' , at the bottom of the window which opens, it indicates "Connection1:Not connected" but when i test connection for the DataEnvironment, it says "Connection succeeded". What should be done?

    Need your help urgently

    Thanks

  2. #2
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    Have u good performed your data source ?
    I think your problem is only with the connection to the data source or the database sheet .

    About testing the connectoin , do u make this test at run time or at design time ? if it's the last .. this doesn't implies u r well connected in the run time , check your connection method again .
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

Similar Threads

  1. password in dataenvironment connection?
    By harold in forum VB Classic
    Replies: 2
    Last Post: 06-05-2006, 03:45 AM
  2. Dynamic SQL with Dataenvironment control
    By choriflai in forum VB Classic
    Replies: 1
    Last Post: 03-10-2005, 05:41 PM
  3. Syntax for SQL in DataEnvironment
    By Bharat in forum VB Classic
    Replies: 0
    Last Post: 10-23-2001, 03:37 AM
  4. SQL in DataEnvironment
    By Jose in forum VB Classic
    Replies: 2
    Last Post: 01-28-2001, 09:07 AM
  5. VB6 DataEnvironment Command Obj and Stored Procs
    By Mister_Frosty in forum VB Classic
    Replies: 0
    Last Post: 08-01-2000, 03:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center