🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #965

Re: sql and params in reports

#965
From: Gary White
Date: Tue, 09 Jun 1998 00:00
28 lines
1502 bytes
Hi Ken,

PMFJI, but from what I've seen of the dataModule, the share property
is used to determine if a form, report, etc should look for a previous
instance of the dataModule before opening tables.  If share is 1 (all)
then it checks for a previous instance.  If one is found, the
previously opened tables are used.  This being the case, the share
property of the parent form, or the form calling the report is not
required to be ALL.

> Place an instance of the datamodule on your form. Set the SHARED
> property to ALL.
Actually, the shared property of the dataModRef in the form is
insignificant unless it needs to share tables with whatever calls the
form.

> Place an instance of the datamodule on your report. Set the SHARED
> property to ALL.
This one is necessary.

There's nothing wrong with setting both to ALL, but I just thought I'd
clarify.

Gary

Some dBASE Stuff at
http://ourworld.compuserve.com/homepages/GaryWhite
Technical Details
Message-ID: <357d051d.834705@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6lga00$4ic2@forums.borland.com> <357c821f.1763061@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,e334d7e5196c99b2
X-Google-Attributes: gidff5a1,public
From: (Gary White)
Subject: Re: sql and params in reports
Date: 1998/06/09
Message-ID: <357d051d.834705@forums.borland.com>
X-Deja-AN: 360969907
Content-Transfer-Encoding: 7bit
References: <6lga00$4ic2@forums.borland.com> <357c821f.1763061@forums.borland.com>
Mime-Version: 1.0
Reply-To: Gary White
Content-Type: text/plain; charset=us-ascii
Organization: Just Me
Newsgroups: borland.public.vdbase.data.sql