<script>
function callbackFunction(str) {
alert("Callback:" + str);
}
</script>
<cf_dccom callbackfunction="callbackFunction" component="relatedSelectsControl" datasource="www-relatedSelectsDemo-MsAccess" username="" password=""
startSQL="SELECT DISTINCT region AS theValue,region AS theDisplay FROM tblLocations ORDER BY region">
<cf_dccom id="region"
name="region"
display="Choose A Region"
sql="SELECT DISTINCT smo AS theValue,smo AS theDisplay FROM tblLocations WHERE region='##region##' ORDER BY smo">
</cf_dccom>
<cf_dccom id="smo"
name="smo"
display="Choose a SMO"
sql="SELECT DISTINCT ssc AS theValue,ssc AS theDisplay FROM tblLocations WHERE region='##region##' AND smo='##smo##' ORDER BY ssc">
</cf_dccom>
<cf_dccom id="ssc"
name="ssc"
display="Choose a SSC"
sql="SELECT DISTINCT ident AS theValue,ident AS theDisplay FROM tblLocations WHERE region='##region##' AND smo='##smo##' AND ssc='##ssc##' ORDER BY ident"></cf_dccom>
<cf_dccom id="ident"
name="ident"
display="Choose a ident"
sql="SELECT DISTINCT facility AS theValue,facility AS theDisplay FROM tblLocations WHERE region='##region##' AND smo='##smo##' AND ssc='##ssc##' AND ident='##ident##' ORDER BY facility"></cf_dccom>
<cf_dccom id="facility"
name="facility"
display="Chose a facility"></cf_dccom>
</cf_dccom>