473,657 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ComboBox is not Refreshing the List after the Change event.

1 New Member
I have a ComboBox and, at the Change event I update RowSource and then use the Dropdown command.
But I realize that the ComboBox list is not updating (refreshing).
I've already done several searches on the Internet about it, but I did not find a solution.
Any tip?
Dec 12 '21 #1
2 10901
NeoPa
32,568 Recognized Expert Moderator MVP
Hi Ademar.

Welcome to Bytes.com :-)

We'd love to help but as your question is so short and lacking any information about your work there is very little I can say at this point.

I suspect using the Change Event is inappropriate. Your description is not clear enough to be sure though.

First consider what it is you want it to do. When you know that then try to describe it in words so that we can also understand that.

If you have code and design that's relevant to your question then share the code and describe the design clearly.

If you can do that adequately then I expect you'll get as much help as you need.
Dec 12 '21 #2
isladogs
459 Recognized Expert Moderator Contributor
Agree with everything that @NeoPa wrote but, as a general guide, try using the After Update event instead of the Change event.
Dec 12 '21 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
6740
by: Paul | last post by:
Hi, How do I on the change event of a list box open a new url in the current window in which the list box resides. I'm not using frames. Thanks, Paul
0
1590
by: Karl | last post by:
Hi all, I want to do some datasource refresh when my combobox dropdown list closes sup. Which event should I call? Thanks, Karl
4
10779
by: rodchar | last post by:
Hey all, I was wondering againg...on my ASP.NET app I have a drop down list. I've set the control to AutoPostBack=True. When I run this app, I select something out of the drop down list and the screen flickers I guess it indicates that the PostBack has occurred. Is this the accepted behavior? thanks, rodchar
2
9170
by: Kevin Hodgson | last post by:
I have a DataBound ComboBox, which has a text value as the Value property, and the UniqueID for that value is bound to the Combobox.Tag property. When a user makes a new selection in the combobox, I need to run a SQL Query with the UniqueID of the new value they are picking. The .SelectedIndexChanged and .SelectedValueChanged events give me the .Tag value BEFORE the new selection is made. I'm getting the value for the previous value,...
1
1602
by: Kevin Hodgson | last post by:
I have a DataBound ComboBox, which has a text value as the Value property, and the UniqueID for that value is bound to the Combobox.Tag property. When a user makes a new selection in the combobox, I need to run a SQL Query with the UniqueID of the new value they are picking. The .SelectedIndexChanged and .SelectedValueChanged events give me the .Tag value BEFORE the new selection is made. I'm getting the value for the previous value,...
0
1410
by: Karsten_Markmann | last post by:
Hi I am writing an Office Com Addin application for XP and Office 2003 I am writing i Visual studio 2003 VB. I have a made a custom toolbar with some buttons and a combobox on. The bar loads OK in Word, Excel and Outlook. The buttons always work in all applications. The Combobox .change event always work from Outlook and Excel, but it stops work in Word after a while. Has anybode any ideas of what can cause this behavior? Any help...
3
2253
by: SimonG via AccessMonster.com | last post by:
Hi, I would like to be able to compare a control's new value with its old value, whenever it is changed by a user. The control holds a numeric value, qty_Sold, when this value changes I need to check its validity and apply appropriate actions. I have tried to do this using the control's 'On Change' event, and the properties '.Value' and '.Text' to return the control's old and new values. Unfortunately this event triggers on each...
2
11618
by: muddasirmunir | last post by:
I am using vb6. I want to solve one problem to define clearly i will use a simple example. Take a form and put a combobox in it Private Sub Form_Load() Combo1.AddItem "Apple"
2
1593
by: bigukfan | last post by:
Hi, I have a simple question about setting the value of a variable from a ComboBox. I'm sure this is easy to do, but I can't think of a way right now. I have an unbound Form with around 10 ComboBoxes, and I want to set the boolean variable bDirty to True when any on the ComboBoxe values are changed. If the Form was Bound this would be no problem, I could use Form_Dirty, but not for unbound Forms. I could put a line of code in the Change Event...
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6164
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4152
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.