Results 1 to 4 of 4

Thread: [RESOLVED] Data Environment

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2008
    Posts
    47

    Resolved [RESOLVED] Data Environment

    Hi,

    I want to know if using Data Environment is better than doing this

    Dim cn as ADODB.Connection
    Dim rs as ADODB.Recordset

    is it professional to use DataEnvironment?

    Thanks guys

  2. #2
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: Data Environment

    I take it your programming in VB ?

    From what i remember about Data Environments they can be a little unstable, i have only used 1 once but didn't seem to be as fast either as managing the connection yourself.

    I would always choose to program the database connection and data retrieval myself as you have much more control, i would have thought that most decent programmers would.
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Data Environment

    I agree with NeedSomeAnswers, and many others who help in this forum do too.


    I'd recommend reading the article Why is using bound controls a bad thing? from our Database Development FAQs/Tutorials (at the top of this forum), as the reasons it gives apply to the Data Environment (even tho it doesn't specifically mention DE, but data controls).

  4. #4

    Thread Starter
    Member
    Join Date
    Mar 2008
    Posts
    47

    Re: Data Environment

    thank you very much for the tips guys.. Hope that other viewers benefit from your answers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width