cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie question: FormDataEvent isn't firing

Former Member
0 Kudos

I'm an experienced .NET programmer but am new to SBO 2005. I've been working on an add-on to customize some of our forms and have figured out most of the ItemEvent events. But I need to change how items are displayed in a combobox attached to a datasource. So I'm assuming I need to capture the FormDataEvent event, but I can't seem to figure out how to get it to fire.

Keep in mind that this is right next to an ItemEvent sub that works fine.

What am I missing? Could this be some sort of licensing issue?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Are you using an event filter?

Former Member
0 Kudos

Oh no. This thing is practically out of the box. It has a company set up with a bunch of test data. That's it.

Former Member
0 Kudos

It's the form load event you should use.

Former Member
0 Kudos

The combobox isn't populated on form load. It gets a datasouce when a selection is made in another item.

Former Member
0 Kudos

You are only adding the valid values to it; not the data. When the data comes in from the table, it is validated against those values on the validate event.

Former Member
0 Kudos

I have no idea what you're talking about, but I don't think you understand my question. There's a combobox that's populated with something from the database when another item on the form gets a value. After these values are added to the combobox, I need to manipulate them.

I don't want to go off the event of the triggering item because there will be other ways of filling this data for the combobox eventually. I need something to happen when the combobox gets its values.

Former Member
0 Kudos

Are you using the following sub?

Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, _

ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent