C CrazyAccessProgrammer Feb 5, 2009 #1 Is there a way to programmatically determine the total number of records in a listbox/combox?
S Stuart McCall Feb 5, 2009 #2 CrazyAccessProgrammer said: Is there a way to programmatically determine the total number of records in a listbox/combox? Click to expand... Debug.Print Me.LstCtrls.ListCount
CrazyAccessProgrammer said: Is there a way to programmatically determine the total number of records in a listbox/combox? Click to expand... Debug.Print Me.LstCtrls.ListCount
J John Spencer Feb 5, 2009 #3 Use the ListCount property of the control. TheCount = Forms![FormName]![ComboboxName].ListCount '==================================================== John Spencer Access MVP 2002-2005, 2007-2009 The Hilltop Institute University of Maryland Baltimore County '====================================================
Use the ListCount property of the control. TheCount = Forms![FormName]![ComboboxName].ListCount '==================================================== John Spencer Access MVP 2002-2005, 2007-2009 The Hilltop Institute University of Maryland Baltimore County '====================================================