Is is possible?

Is is possible?

Post by Karo » Fri, 13 Sep 2002 08:01:23



Hi,
I have 2 separated databases with fields for dates. I can sort each database
by date which is great. But I would like to see a list of all dates of both
databases on one page. Is this possible? I could either be a layout in one
of the two databases or it could be a completely separate third database.

Thank you so much.

Ken

 
 
 

Is is possible?

Post by Lee Smit » Fri, 13 Sep 2002 08:26:38



on 9/11/02 4:01 PM:

Hi Karo,

I have done this in the past.

You will need to create a couple of relationships (One is a self
relationship and will be external to the 2nd file).

Create a new layout and place both Portals on it. Make your Portals big
enough to display all of the fields to be compared.

Also, John Mark Osborne has a tip file called Portal Comparison or something
like that at

http://www.fmfiles.com/tnt5.html

HTH

Lee

Quote:> Hi,
> I have 2 separated databases with fields for dates. I can sort each database
> by date which is great. But I would like to see a list of all dates of both
> databases on one page. Is this possible? I could either be a layout in one
> of the two databases or it could be a completely separate third database.

> Thank you so much.

> Ken


 
 
 

Is is possible?

Post by Chris Brow » Fri, 13 Sep 2002 08:54:18


Ken,

create 2 value lists, each based on one of the date fields.
create 2 text calc fields, and define as ValueListItems (dbname, valuelist),
unstored
quote the VL name (""), and I usually use Status (CurrentFileName) for the
dbname

Chris Brown
Dept. Neurosurgery
University of Adelaide


> Hi,
> I have 2 separated databases with fields for dates. I can sort each database
> by date which is great. But I would like to see a list of all dates of both
> databases on one page. Is this possible? I could either be a layout in one
> of the two databases or it could be a completely separate third database.

> Thank you so much.

> Ken

 
 
 

Is is possible?

Post by A Aldan » Fri, 13 Sep 2002 12:11:39


Are the databases related?  Are there relationships between them?  If there
is you can create a layout that has both fields right next to eachother but
one field will be an exterior field from the related file/database.

Quote:> Hi,
> I have 2 separated databases with fields for dates. I can sort each
database
> by date which is great. But I would like to see a list of all dates of
both
> databases on one page. Is this possible? I could either be a layout in one
> of the two databases or it could be a completely separate third database.

> Thank you so much.

> Ken

 
 
 

Is is possible?

Post by Chris Brow » Fri, 13 Sep 2002 12:46:08


just a point of interpretation

as the request was for a list of all dates, one might interpret this as
distinct from a 'list' of all records having dates

if you want only a single iteration of any given date, then value list
if you use portals you will list ALL records, and hence display  multiple
records for  agiven date, if they exist. Unless of course you employ some extra
manipulations to exclude duplicate dates from the portal...


> Hi,
> I have 2 separated databases with fields for dates. I can sort each database
> by date which is great. But I would like to see a list of all dates of both
> databases on one page. Is this possible? I could either be a layout in one
> of the two databases or it could be a completely separate third database.

> Thank you so much.

> Ken

--
regards

Chris

Chris Brown
Dept. Neurosurgery
University of Adelaide

 
 
 

Is is possible?

Post by R Jon » Fri, 13 Sep 2002 16:34:04


Let's say you have DBs A and B.  Well, you make a global field in both
databases with a value of 1, and then set up two relationships based
on these global fields:  one from database A to database B and one
self-join from A to A.  Set both relationships to sort on the date
fields.  These are dummy relationships that always bring up every
record in the related file.

Then create a layout in database A and put two portals in it - one for
each of the two relationships.  Put the date fields from the relevant
files in the portals and Bob's your uncle!

I don't know how familiar you are with talk of portals, relationships
and the like.  If not, the above probably won't make much sense -
spend some time with the online help on these topics - or wait for
someone wiser and more patient to do a better job of explaining it
here :)

Good luck.

Robert


> Hi,
> I have 2 separated databases with fields for dates. I can sort each database
> by date which is great. But I would like to see a list of all dates of both
> databases on one page. Is this possible? I could either be a layout in one
> of the two databases or it could be a completely separate third database.

> Thank you so much.

> Ken

 
 
 

Is is possible?

Post by Chris Brow » Fri, 13 Sep 2002 16:44:44


something of  a design issue attempting to use a global on the right of a rel (if I
interpreted correctly)
it needs to be indexable: a calc =1 works for such a constant relationship, with
global on left

--
regards

Chris

Chris Brown
Dept. Neurosurgery
University of Adelaide


> Let's say you have DBs A and B.  Well, you make a global field in both
> databases with a value of 1, and then set up two relationships based
> on these global fields:  one from database A to database B and one
> self-join from A to A.  Set both relationships to sort on the date
> fields.  These are dummy relationships that always bring up every
> record in the related file.

> Then create a layout in database A and put two portals in it - one for
> each of the two relationships.  Put the date fields from the relevant
> files in the portals and Bob's your uncle!

> I don't know how familiar you are with talk of portals, relationships
> and the like.  If not, the above probably won't make much sense -
> spend some time with the online help on these topics - or wait for
> someone wiser and more patient to do a better job of explaining it
> here :)

> Good luck.

> Robert


> > Hi,
> > I have 2 separated databases with fields for dates. I can sort each database
> > by date which is great. But I would like to see a list of all dates of both
> > databases on one page. Is this possible? I could either be a layout in one
> > of the two databases or it could be a completely separate third database.

> > Thank you so much.