![]() |
|
|
#1
|
|||
|
|||
|
Hi Everyone
There is something i am missing here. I have a sub form on a main form. I have set the combo on the main to filter the combo on the sub form and its working all right. code: Private Sub cboProgram_AfterUpdate() Dim strSql As String strSql = "SELECT lk_Indicator.IndicatorID, lk_Indicator.Indicator, lk_Indicator.ProgramAreaID" & _ " FROM lk_Indicator WHERE lk_Indicator.ProgramAreaID = " & Me.cboProgram.Column(0) & _ " ORDER BY lk_Indicator.IndicatorID ASC" Me.subfrmZNANDATA.Form.cboIndicator.RowSource = strSql End Sub The problem comes in when i change the entry on the main form combo. The other records do not show on the main form. I have attached the images to illustrate Note: main form has cboIndicator--unbound subform has cboIndicator---bound to lk_Indicator table the main form and subform are linked what i want is all the records entered on the subform to show Thanks for your time.... |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Form Combo problems | Honeytree | Forms | 0 | 10-05-2008 11:32 AM |
| cascading combo form | tonysomerset | Forms | 0 | 08-27-2008 12:10 AM |
| Problems with list or combo box on tabbed form | kydbmaster | Forms | 0 | 02-19-2008 10:33 PM |
| Using combo box to open another form | ladyairj23 | Forms | 0 | 06-02-2006 05:03 AM |
| Subform vs main form calculation | fadone | Forms | 17 | 12-21-2005 04:27 AM |