Microsoft
Software
Hardware
Network
Question : Access SELECT Combo box
Hi there, i have a subform with a combobox that is used to select the record of the subform, however i want to limit the row source of the combobox to show only those records that relate to a field in the master form. At the moment the combobox shows all records. The sql query looks as follows:
SELECT address_data.entity_id, address_data.type
FROM address_data;
Im thinking that i need to add a WHERE clause, but not sure how to refernce it to the field in the master form. Somthing like this:
SELECT address_data.entity_id, address_data.type WHERE address_data.entity_id = field onmaster form
FROM address_data;
Anyone able to help me with this?
Thanks
Answer : Access SELECT Combo box
use this query
SELECT address_data.entity_id, address_data.type
FROM address_data
WHERE address_data.entity_id = Forms!nameOfMainform.NameO
fControl
Random Solutions
MySQL Inner, Left and Right Join
How to Setup Airport Extreme as DHCP Server on LAN with SonicWall
SharePoint - single user can't access Rich Text Editor
sql inValid Object Name how to solve it?
how to transfer apps from my iphone to my itunes library
Do my speed connection meddles with my online game results in PS3?
After Deleting file size not show as free space
Vbs/HTA to send email (Html) based on excel sheet
Running a Windows 2003/2008 DFS fileserver on Vsphere 4?
How to Add formatting to Excel Spreadsheet from VB.NET