Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3276

Using selection conditions of view with comparison values from another table?

$
0
0

Hi,

 

I need to add a condition to a view. I have two tables. Let's say one of them contains begindate and endate, another one contains comparisondate:

 

Table1:

...some fields...

begindate dats 8

enddate   dats 8

 

Table2:

...some fields...

comparisondate dats 8

 

I want this view only to contain rows which ensures this condition:

 

table1-begindate LE table2-comparisondate AND

table1-endate     GE table2-comparisondate


Is it possible to achieve this with using selection conditions?


Actualy I am trying to do this for a search help. Should I use "Search help exit" instead? Can I achieve it with Search help exit ?


Viewing all articles
Browse latest Browse all 3276

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>