limiting combo box selection

J

Junior

Hi - I have a subform where i want to limit the selections in cbo2 based on
the selection in cbo1.
Both cbo's use different lookup tables.
Both lookup tables have a field [Type](one text character that i'm trying to
use for matching)
in cbo1.Column(3) is [Type]
I want to limit the selections in cbo2 where the cbo2 lookup table.type
equals[type] in cbo1.column(3)

Here is the actual SQL i placed in the rowsource of cbo2
SELECT TlkpRefGde.GdeCode, TlkpRefGde.EODGde, TlkpRefGde.GdeDesc,
TlkpRefGde.GdeOrder, TlkpRefGde.GdeType
FROM TlkpRefGde
WHERE
(((TlkpRefGde.Type)=[Forms]![frmEOD]![sfmEOD].[cboapplPos].[column(3)]))
ORDER BY TlkpRefGde.GdeOrder;

i first got an error - undefined function - now cbo2 opens with a blank
selection.

So - what am i doing wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top