--
Eivind Bakkestuen [TPX]
Please, no private email unless requested.
This newsgroup is searchable at http://www.tamaracka.com
Visit TurboPower's new Foundry at http://community.turbopower.com
"Ameet Jayawant" <Amee...@indiatimes.com> wrote in message
news:viCqd#xsCHA...@tpsmail01.turbopower.net...
> Hello all,
>
> I have an extensive Purchase Order Tracking application. It does a bunch
of
> things. For example I have a whole slew of setup/utility options that
handle
> User setup, Permissions, Buyer Info et al. I also have a bunch of reports
> (using QuickReports). What I want to do is take all the utility forms and
> code and deposit them into a dll. Same with the reports, in a seperate
dll.
> These two aspects of the pgm rarely change.
>
> I wrote a little test pgm wherein I instantiate the
> Transport-Server-Client-Session objects in one MAIN form and then try to
> display a list of buyers from within a DLL. The dll holds a form with a
> simple TDBGrid which has a TDataSource. The procedure in the dll to
display
> buyers is called
>
> DisplayBuyers(FFdb : TFFDataBase, FFBuyerTable: TFFTable).
> To this I pass a reference, from within the main pgm, of the FlashFiler DB
> and the FFTable object s. When the procedure is invoked it links the
> TDataSource in the DLL's form to the passed FFTable object, and verifies
> that the FFTable's database name matches that of the passed FFdb object.
> Well the result is that I do not see any data.
>
> Another way I tried doing this was:
> DisplayBuyers(sDBName, sTableName : string).
> In the DLL I created a FFTable object linked to the TDataSource linked to
> the TDBGrid. When the procedure is called I tried to set the FFTable's
name
> to sTableName, and it's DataBaseName to sDBName. I got a msg to the effect
> that the DataBase associated with the TffTable is not active ..... (or not
> available; something like that).
>
> Is there anybody out there who can PLEEEEZ tell me what I am doing wrong,
> and possibly provide some guidance so that I can find a solution?
Ordinarily
> I would not go thru' this fragmenting of my pgm, but the app exe is 5.5 MB
+
> and I hate to have to make a client download the entire file everytime I
> make a small change.
>
> Thank you to all of those who will spend time reading my ramblings.
>
> Sincerely,
>
> Ameet S. Jayawant.
>
>
--
Eivind Bakkestuen [TPX]
Please, no private email unless requested.
This newsgroup is searchable at http://www.tamaracka.com
Visit TurboPower's new Foundry at http://community.turbopower.com
"Ameet Jayawant" <Amee...@indiatimes.com> wrote in message
news:viCqd#xsCHA...@tpsmail01.turbopower.net...
>