M
Mike
Hi,
Can someone pls tell me why the query shown below is incorrect?
I'm trying to synchronize two combo boxes (cascading) in a form but the
query just wont accept the WHERE statement.
TIA
Mike
ACCESS03, SQL2K
SELECT DISTINCT MODEL_ID, MODEL_NAME, MAKE_ID
FROM MODEL
GROUP BY MODEL_ID, MODEL_NAME
WHERE MAKE_ID=[Forms]![Form1]![combo1]
ORDER BY MODEL_NAME
Combo1 displays MAKE_ID, MAKE_NAME (the first hidden)
Combo2 should display MODEL_ID, MODEL_NAME (The first hidden)
Can someone pls tell me why the query shown below is incorrect?
I'm trying to synchronize two combo boxes (cascading) in a form but the
query just wont accept the WHERE statement.
TIA
Mike
ACCESS03, SQL2K
SELECT DISTINCT MODEL_ID, MODEL_NAME, MAKE_ID
FROM MODEL
GROUP BY MODEL_ID, MODEL_NAME
WHERE MAKE_ID=[Forms]![Form1]![combo1]
ORDER BY MODEL_NAME
Combo1 displays MAKE_ID, MAKE_NAME (the first hidden)
Combo2 should display MODEL_ID, MODEL_NAME (The first hidden)