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
Blank screen After WIn XP splash screen.
iPhone citrix reciever with Citrix Access Gateway
Determine MIME types for files in php
Return Ref
security issue in login application: a logged in user is able to edit her or his own profile
DELL LATITUDE D610 80GIG STUCK IN BOOT LOOP
HTTPS keeps Rest connection [RST,ACK]
How to redirect requests to a particular web site to a local server?
Deploy Printers Using Windows 2008 R2 GPO to Windows XP Pro Clients and Removing all current printers
Unattended Windows 7 Installation answer file not working