Refreshing the values in a Ribbon's combo box?

A

AK

Hi.

I am new to ribbons (but managed to do what I am asking in the old menus).

I have a combo box that currently displays a customer list (from the
database) in the ribbon. It is populated at startup (?) via a combination of
functions (one that gets the count, one that gets the label and an OnChange
event that processes the click).

My ribbon is named MainRibbon in the ribbon table (USysRibbons) and my forms
have the ribbon property set to it (in Design Mode).

My question:

How can I force an update of the values in the combo box?

If a new customer is added or one is deleted I would like the combo box to
be updated.

(In the old menu world, I created the menu in my code and made it a global
variable, so I was simply able to call a function that refreshed the data
whenever I needed it done.)

Is there a way to reference this ribbon and run some code to update it?

Thanks!
AK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top