Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228

    Clear combo box selection.

    the text boxed to the right here are showing the value of the combo box to the left. (or the value of the textbox on the last one.)



    The combo box next to card_name1 only shows cards which the selected person does not have already. So it can be used to add them.


    Click image for larger version. 

Name:	Screenshot_2.png 
Views:	8 
Size:	3.1 KB 
ID:	28928

    That's all well and good. But.. If you look to the textbox referencing the combo box. Its still saying 6. This is from the previous entry.

    The combo box itself updates so it does not show the card name. But it still holds the value of the last card.

    Each combobox has refresh/requery I don't know what else to try. If anyone could suggest something.

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    What is the Record Source property for the text box showing "6". Have you tried to requery that text box.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    the control source for that textbox is literally the combo box. =[Combo26]

    The whole form refreshes and requerys on any change to any combobox.

    The combo box appears to work as the text does disappear. but its holding the ID. I'm pretty lost.

  4. #4
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    I can probably change the macros to vba and set it to null... Ill see.,

  5. #5
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    The form is behaving very strange. asking for parameters when it should not have. I remade the form exactly the same and added some VBA to reset values. All good now.

  6. #6
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    The form is behaving very strange.
    Often a sign of corruption
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  7. #7
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    Would you investigate further or you think its okay with the new form behaving itself?

  8. #8
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    I would suspect that the problem was with the form that has been deleted. I personally would create a new blank db and import everything from the existing db. Would be interested to hear the views of other users that more experienced with corruption.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  9. #9
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    Thanks for your input.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. on load clear combo box
    By slimjen in forum Forms
    Replies: 4
    Last Post: 06-24-2015, 12:49 PM
  2. Clear selected value in combo box
    By bbrazeau in forum Programming
    Replies: 6
    Last Post: 08-05-2014, 12:38 AM
  3. Replies: 5
    Last Post: 04-09-2014, 06:57 PM
  4. Clear combo box
    By Cindygo in forum Forms
    Replies: 3
    Last Post: 09-19-2011, 09:25 AM
  5. Clear value list in combo box
    By jgelpi16 in forum Programming
    Replies: 4
    Last Post: 05-27-2011, 12:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums