I have a select box that is populated using 2 queries, each from different tables. They both pass pkey for value. Based on which table's value is selected, determines another setting when an update takes place. I may have a pkey value of 8 for a department and a pkey value of 8 for an employee. I need to know which table the pkey value came from. Any thoughts?
Code:
<!---
<select name="assignment">
<cfoutput query="dept">
<option value="#pkey#">#dept#</option>
</cfoutput>
<cfoutput query="emp">
<option value="#pkey#>#employee#</option>
</cfoutput>
</select>
--->
Code:
<!---
<select name="assignment">
<cfoutput query="dept">
<option value="#pkey#">#dept#</option>
</cfoutput>
<cfoutput query="emp">
<option value="#pkey#>#employee#</option>
</cfoutput>
</select>
--->