Results 1 to 3 of 3

Thread: Converting from Data Environments to Pure Code

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    4

    Converting from Data Environments to Pure Code

    Heya.

    This post is a follow-up to this post. I didn't have any luck figuring out my Data Environment problem, so I am hoping to convert to pure code.

    How difficult is it to convert? I know how to open connections and manipulate the data in code, but I don't know exactly how Data Environments are implemented (are they global recordsets? etc.).

    Does anyone have any suggestions as to how to easilly migrate from Data Environments to code? Or have any references to web articles discussing this?

    Any help is greatly appreciated!

    Thanks,
    Enigma

  2. #2
    Frenzied Member SeanK's Avatar
    Join Date
    May 2002
    Location
    Boston MA
    Posts
    1,160

    Re: Converting from Data Environments to Pure Code

    To me the migration would be easy.

    Toss the DataEnvirnoment out the window and redo everything with code.
    Beantown Boy
    Please use [highlight=vb]your code goes in here[/highlight] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    4

    Re: Converting from Data Environments to Pure Code

    Hehe. While I would love to do this, this was supposed to be a quick task for me to perform. Rewriting the entire program isn't going to be quick.

    My biggest question is how do I bind my recordsets to the data controls? I know data binding is frowned upon by many, but this is done all over in this project, and I don't have time(nor do I know enough about the program) to rewrite the entire thing. When I bind a recordset to a control on a form, do I have to keep the connection(that the recordset was created on) open the entire duration that the form is open? If so, do I just open the connection in the load event and close it in the close event?

    Thanks,
    Enigma

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