Discussion:
Share DataMoule
(too old to reply)
Ken Mayer [dBASE, Inc.]
2004-02-26 18:09:08 UTC
Permalink
I am pasting this from the programming ng. Not sure you would classify
this as a bug or a wishlist...
When multiple instances of the dataModule are open, opening a child form
that shares the dataModule (using a dataModRef with share = 1) always
uses the last instance of the dataModule opened rather than the first
instance found after the instance of the calling form.
Makes sense to me ... I wouldn't classify this as a bug ...

Ken
---
Ken Mayer [dBASE, Inc.]
** Please respond ONLY in the newsgroups **

"Think OOP"

dBASE, Inc. website: http://www.dbase.com
Ken Mayer [dBASE, Inc.]
2004-02-26 22:01:26 UTC
Permalink
Post by Ken Mayer [dBASE, Inc.]
Makes sense to me ... I wouldn't classify this as a bug ...
Okay, thanks. Do you have a number?
No. As noted, I wouldn't classify this as a bug.

Think about it logically. The *last* reference to a shared datamodule
changes things, so the next reference will of course share
properties/changes in the *last* reference. If you go back to other
forms or whatever that are also sharing that datamodule (via
datamodref for those reading this), they should also see any changes
made in the one reference.

Ken
---
Ken Mayer [dBASE, Inc.]
** Please respond ONLY in the newsgroups **

"Think OOP"

dBASE, Inc. website: http://www.dbase.com
Todd Kreuter
2004-02-26 22:16:59 UTC
Permalink
Post by Ken Mayer [dBASE, Inc.]
No. As noted, I wouldn't classify this as a bug.
Oh, I mis read.

Did you bother to run the form?

I don't find the behavior logical, or perhaps I'm just illogical.
--
Todd Kreuter [dBVIPS]
Todd Kreuter
2004-02-26 21:48:14 UTC
Permalink
Post by Ken Mayer [dBASE, Inc.]
Makes sense to me ... I wouldn't classify this as a bug ...
Okay, thanks. Do you have a number?
--
Todd Kreuter [dBVIPS]
Loading...