cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate Navigation Button ?

Former Member
0 Kudos

Hi,

I write an UI Form with an UDO table,

and I register the form and UDO

as a master type on SBO 2004B.

The form can be insert,update,find mode

and work correctly.

The next step I want to do is to activate

the Navigation Button,and from the

eLearning file I found that the code

should be like this and set the

form mode to be,but it can't work.

'//*************************

'// 6.BrsBtn

'//*************************

' oItem = oForm.Items.Add("BrsBtn", SAPbouiCOM.BoFormItemTypes.it_BROWSE_BUTTON)

' oItem.LinkTo = "EditText1"

Does SBO open this function or not ?

If not,why eLearning show the "SAPbouiCOM.BoFormItemTypes.it_BROWSE_BUTTON"

property ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Andrew,

you should use the Browse By property of the form.

That will enable all the navigation button.

oForm.DataBrowser.BrowseBy = "the name of an Edit text link to your DBDatasource"

HTH

Sébastien

Former Member
0 Kudos

HI Sébastien,

I have tried your advice and

the navigation button can be used

and it work correctly.

Besides it's important to set the

form.mode to be "find" state.

Thank you for your help.

Andrew Chu 2005.05.19

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andrew

I need ur support. I have made a UDO and register it through code. I have set all properties that i know to work a form as UDO form. I have added a button to the form also. Now the problem is that form always in Update mode means whenevr form open OK button is visible as i entered something button gets converted to update when i click on this "Operation ended successfully" but nothing happen with DataBase.Plz help me if possible plz help through Code.

My Master Table is : U_UDOM

fields r: U_EMPID, U_EMPNAME

CHILD TABLE: U_UDOC

fields r : U_EMPID, U_EMPCITY, U_EMPNAME

Plz support.