If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Steve,
Yes, the subform supposed to show recordes based on the choice in the combo box. Yes, the combo box is on the main form called Mnform_RQM_Pend_Upd I've recreated combo box and the query several times so the most current combobox is called RCA_Name. I got that name from combobox --- properties -- other tab---name. "Steve Schapel" wrote: Monia, Thanks. My understanding was that the subform is supposed to show the records according to the selection in the combobox. Is that right? The combobox is apparently on a from called Mnform_RQM_Pend_Upd, is that right? According to the code you showed earlier, the name of the combobox is RCA, is that right? Therefore I would have expected the WHERE clause of the query to refer to RCA, not RCA_Name, i.e. like this.... WHERE (([RQM Pending - by RCA].[RCA Name])=[Forms]![Mnform_RQM_Pend_Upd]![RCA]) Can you clarify? -- Steve Schapel, Microsoft Access MVP monia13 wrote: Here is the code: SELECT [RQM Pending - by RCA].[RCA Name], [RQM Pending - by RCA].[Acct Date], [RQM Pending - by RCA].[CAS ID], [RQM Pending - by RCA].[Client ID], [RQM Pending - by RCA].[Client Name], [RQM Pending - by RCA].[Pendign Stats], [RQM Pending - by RCA].Comments FROM [RQM Pending - by RCA] WHERE ((([RQM Pending - by RCA].[RCA Name])=[Forms]![Mnform_RQM_Pend_Upd]![RCA_Name])); |
#12
|
|||
|
|||
Steve,
I recreated combo box and subform query for the nth time. In the combo box, I chose RCA ID (indexed field) along with RCA Name. I adjusted the query to filter on RCA ID picked in the combo box. Subform populates now when a value in the como box is chosen. Thanks for your help. "Steve Schapel" wrote: Monia, Thanks. My understanding was that the subform is supposed to show the records according to the selection in the combobox. Is that right? The combobox is apparently on a from called Mnform_RQM_Pend_Upd, is that right? According to the code you showed earlier, the name of the combobox is RCA, is that right? Therefore I would have expected the WHERE clause of the query to refer to RCA, not RCA_Name, i.e. like this.... WHERE (([RQM Pending - by RCA].[RCA Name])=[Forms]![Mnform_RQM_Pend_Upd]![RCA]) Can you clarify? -- Steve Schapel, Microsoft Access MVP monia13 wrote: Here is the code: SELECT [RQM Pending - by RCA].[RCA Name], [RQM Pending - by RCA].[Acct Date], [RQM Pending - by RCA].[CAS ID], [RQM Pending - by RCA].[Client ID], [RQM Pending - by RCA].[Client Name], [RQM Pending - by RCA].[Pendign Stats], [RQM Pending - by RCA].Comments FROM [RQM Pending - by RCA] WHERE ((([RQM Pending - by RCA].[RCA Name])=[Forms]![Mnform_RQM_Pend_Upd]![RCA_Name])); |
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combo Box NotInList - How To Add Data To Underlying Table | 10SNUT | Using Forms | 19 | July 8th, 2005 09:12 PM |
strategy for data entry in multiple tables | LAF | Using Forms | 18 | April 25th, 2005 04:04 AM |
Need to clear controls of Filter form | Jan Il | Using Forms | 2 | November 28th, 2004 02:04 PM |
Dates in a listbox connected to a form... | RusCat | Using Forms | 13 | November 25th, 2004 02:31 AM |
dlookup | miaplacidus | Using Forms | 9 | August 5th, 2004 09:16 PM |