[AccessD] Access combobox question

John B. john at winhaven.net
Wed Oct 8 21:51:20 CDT 2003


John:

If Me.cboPrograms.ListCount > 0 Then
    Me.cboPrograms.Value = Me.cboPrograms.ItemData(0)
End If

HTH
John B.
  -----Original Message-----
  From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget
  Sent: Wednesday, October 08, 2003 7:41 PM
  To: AccessD at databaseadvisors.com
  Subject: [AccessD] Access combobox question


  Does anyone know how I could hide one of the combobox records on a form?
  example is I need to hide * All Programs *  from being displayed when
  the combobox gets focus. Also is there a way to autofill the combobox
  with the 1st record in a table when the combobox gets focus?

  Thanks in advance
  John Eget
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20031008/b44db9d6/attachment-0001.html>


More information about the AccessD mailing list