B
BusterB
I have been searching for ages but cant find an answer to help.
I want to create a combo box that works like normal (e.g type "PRO" and
"PROducer" would show) but I also want record containing "PRO" to show (e.g
"Global PROducer")
I have done some experimenting but not gotten very far.
Is this possible? if so - how?
If this is not possible is there a way to work around it?
I created a query with the following sql and it works as required -
SELECT InstallationNamesTbl.InstallationID,
InstallationNamesLookupTbl.InstallationName, InstallationNamesTbl.Active
FROM InstallationNamesLookupTbl INNER JOIN InstallationNamesTbl ON
InstallationNamesLookupTbl.ID = InstallationNamesTbl.InstallationNamesID
WHERE (((InstallationNamesLookupTbl.InstallationName) Like "*" &
[Forms]![MainMenu]![InstallationCbo].[Text] & "*") AND
((InstallationNamesTbl.Active)=True));
but putting it as the rowsource of the combo box doesnt work (needs to query
on its self??)
Also tried an OnChange event to save a string containing the letters typed
into the combo box and updating the rowsource strSql in code but got a Type
Mismatch error.
Any help appreciated.
I want to create a combo box that works like normal (e.g type "PRO" and
"PROducer" would show) but I also want record containing "PRO" to show (e.g
"Global PROducer")
I have done some experimenting but not gotten very far.
Is this possible? if so - how?
If this is not possible is there a way to work around it?
I created a query with the following sql and it works as required -
SELECT InstallationNamesTbl.InstallationID,
InstallationNamesLookupTbl.InstallationName, InstallationNamesTbl.Active
FROM InstallationNamesLookupTbl INNER JOIN InstallationNamesTbl ON
InstallationNamesLookupTbl.ID = InstallationNamesTbl.InstallationNamesID
WHERE (((InstallationNamesLookupTbl.InstallationName) Like "*" &
[Forms]![MainMenu]![InstallationCbo].[Text] & "*") AND
((InstallationNamesTbl.Active)=True));
but putting it as the rowsource of the combo box doesnt work (needs to query
on its self??)
Also tried an OnChange event to save a string containing the letters typed
into the combo box and updating the rowsource strSql in code but got a Type
Mismatch error.
Any help appreciated.