WOW as a jr developer years ago I got this working in my
sleep. Now I cant get it to work. Funny enough I am using it for
the exact same reason as used in the help file and copied the code
exactly and even used the same field names in my query and the
second select wont populate.
Here is my query
SELECT c.CategoryID AS MCode,
c.CategoryName AS Master_Cat,
s.SubCategoryID AS Code,
s.SubCategoryName AS Cat
FROM Categories c
INNER JOIN SubCategories s ON c.CategoryID = s.FK_CategoryID
ORDER BY c.CategoryName ASC
here is the code
<CF_TwoSelectsRelated
QUERY="Server.Cats"
NAME1="Cat"
NAME2="Selected"
DISPLAY1="Master_Cat"
DISPLAY2="Cat"
VALUE1="MCode"
VALUE2="Code"
FORCEWIDTH1="70"
FORCEWIDTH2="70"
SIZE1="1"
SIZE2="1"
HTMLBETWEEN="<BR>"
AUTOSELECTFIRST="Yes"
EMPTYTEXT2="(now choose a subcategory)">