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
Email keeps going into Junk Mail Folder in Outlook 2003 on Exchange 2003
Capture Linkbutton click event in Master page from Content page
Queries inside a while loop
Exchange 2007 - Delivery is delayed to these recipients or distribution lists:
C++ permutation with replacement algorithm
bootable usb
Windows XP - Shutdown Causes Restart
How to convert non ansi outer join =* to ansi outer join
I'll bet you can't pass this test about how Windows 7 explorer sorts directories by date?
How to request previous month's records in my sql's where clause?