Jump to content

how to join two dbs into one - brain death!


toy

This topic is 7616 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

hey all

i seem to be having this mental block

how can i have one db C which is a listing of all records in db A and db B

sorted by date and time (which are the common fields to both A and ???:

pls help

this should be easy, no??

my brain just isnt happening on this

Link to comment
Share on other sites

If you're still working on this ...

dbC is related to both dbA and dbB through some field or other. I'll call it AorB, and simplify that its only values are "UseA" and "UseB".

Add a new field to dbC that is a calculation:

If(AorB="UseA", A::date, B::date) where it looks up the answer through the appropriate relationship. This spits out a date either way, and you can sort by that field.

If there are more than two possibilities, use a Case structure instead of If.

Link to comment
Share on other sites

This topic is 7616 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.