Results 1 to 3 of 3

Thread: ShareMem

  1. #1
    Join Date
    Sep 2004
    Posts
    281
    Rep Power
    0

    Default ShareMem

    Is it possible to load mdichild forms from a package and have it use components on a datamodule....like sql connections and queries?

  2. #2
    Join Date
    Jun 2002
    Posts
    648
    Rep Power
    0

    Default Re: ShareMem

    Not only possible but recommended in cases where the same connections or datasets are used in many forms.

    To do so you need to specify these datamodules in your "Uses" section of your form(s).

    Example:

    Uses mydatamodule;

    How that answers your question...all the best

  3. #3
    Join Date
    Sep 2004
    Posts
    281
    Rep Power
    0

    Default

    Hmmmm..i have tried it sevral times and i get me ory errors...

    The datamodule if created my the parent form (the data module has the ado connection and table objects) ... when i try to access the table object i get a memory error i will post the error the next time i log in {} i got fustraed and abandonded the idea.

Posting Permissions

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