If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > query multiple table, but missing in answer.db

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-30-10, 12:37
safsaf safsaf is offline
Registered User
 
Join Date: Jun 2010
Posts: 1
query multiple table, but missing in answer.db

hi.

i have a problem querying my tables named upc, ginv#, finv#,..

all of the tables have a linkable upc field, but the problems comes up what upc.dcb is missing values in ginv#, and finv# and vise versa.

Instead of having all data from ginv# it only shows maybe x number of data when linked

first table
GINV#
|INVOICE#|DATE |TSOLD|PRICE| COLOR|upc|
| check|CHECK >=~DATE1, <=~DATE2 |CHECK|CHECK|check|check _mm|

upc
|upc|code|
|_mm|check|

if upc does not have the value in upc field, the data would not show up.

is there a fix for this where all value in ginv# will be in my answer.db even though value of upc field is not present


thanks
bob
Reply With Quote
  #2 (permalink)  
Old 07-02-10, 08:14
Steve Green Steve Green is offline
Registered User
 
Join Date: Dec 2007
Posts: 282
you are asking for an "outer join" query.. assuming one table has all of the values, in a two-table join, it's simple.. next to the example element of the link in that table, add the exclamation point.. so try that as a test, first..

if you need to complicate it with more tables for that link and/or no single table has all of the values, there are several ways to approach this.. an example of three-table links:

table A | _link-one !, _link-two ! |

table B | _link-one |

table C | _link-two |
__________________
--
Steven Green - Myrtle Beach, South Carolina USA

http://www.OasisTradingPost.com

Oasis Trading Post
- Collectibles and Memorabilia
- Vintage Lego Sets and Supplies
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On