Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Deleting all datas from Combo Box

Deleting all datas from Combo Box

Scheduled Pinned Locked Moved Visual Basic
databasequestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jishbalan
    wrote on last edited by
    #1

    Hello friends, In my MS Access, one of my form having a combobox whose row source is a query data. How can i delete all items from comboBox Thanks and regards Jishith

    R 1 Reply Last reply
    0
    • J jishbalan

      Hello friends, In my MS Access, one of my form having a combobox whose row source is a query data. How can i delete all items from comboBox Thanks and regards Jishith

      R Offline
      R Offline
      Rupesh Kumar Swami
      wrote on last edited by
      #2

      combobox1.DataSource=Nothing

      Rupesh Kumar Swami Software Developer, Integrated Solution, Bikaner (India) My Company Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11

      J 1 Reply Last reply
      0
      • R Rupesh Kumar Swami

        combobox1.DataSource=Nothing

        Rupesh Kumar Swami Software Developer, Integrated Solution, Bikaner (India) My Company Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11

        J Offline
        J Offline
        jishbalan
        wrote on last edited by
        #3

        ComboBox1.Datasource is not showing in my access. In ComboBox1 properties, rowsource type is Query/table and row source is my query. its not value list

        L 1 Reply Last reply
        0
        • J jishbalan

          ComboBox1.Datasource is not showing in my access. In ComboBox1 properties, rowsource type is Query/table and row source is my query. its not value list

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          So your Combo box is in access not in VB.Net? Is this a VBA question or an Access question or... perhaps you can be just slightly more specific??

          Check out the CodeProject forum Guidelines[^]

          J 1 Reply Last reply
          0
          • L Lost User

            So your Combo box is in access not in VB.Net? Is this a VBA question or an Access question or... perhaps you can be just slightly more specific??

            Check out the CodeProject forum Guidelines[^]

            J Offline
            J Offline
            jishbalan
            wrote on last edited by
            #5

            Ya . Its in MS Access. In properties CmbFromDate.RowSource type = Table/Query CmbFromDate.RowSource = "Query Created On" The query is getting for the dates from Access Table The combo box i used for the user to select the date. After quitting the application the .mdb file showing huge size . The previous query data is still in the combo Box

            L 1 Reply Last reply
            0
            • J jishbalan

              Ya . Its in MS Access. In properties CmbFromDate.RowSource type = Table/Query CmbFromDate.RowSource = "Query Created On" The query is getting for the dates from Access Table The combo box i used for the user to select the date. After quitting the application the .mdb file showing huge size . The previous query data is still in the combo Box

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              ComboBox.RowSource = ""

              Check out the CodeProject forum Guidelines[^]

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups