cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation bar does not work with document

Former Member
0 Kudos

Hi Experts,

I have created a form with screen painter with a document type object. one header table and one grid table. It works will data is saved properly in both tables but navigation bar not not work. it is deactive . Can u tell me how it active and work with document.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

when loading form enable the proper menus as

form.EnableMenu(1288, True)

form.EnableMenu(1289, True)

form.EnableMenu(1290, True)

form.EnableMenu(1291, True)

Former Member
0 Kudos

Thanks for quick reply

I enabled all the menus . Now these buttons are active but records are not changes when i press next button. What can be reason.

thanks

Former Member
0 Kudos

Is it UDO form or not?

If its UDO, you must set

form.DataBrowser.BrowseBy = "code" - field from db you want to go through

and set ObjectType to form.

If it is not UDO, you must catch the menu event and do it6 programaticaly.

Former Member
0 Kudos

Thanks Petr Verner

I Solved my problem it was udo . I write the code oform.Databrower.Browseby = "txtcstCode"

I have another problem with matrix How to enter value in a cell of matrix through coding like in edit box we can write code editbox1.value = 10 what will the code for a column value.

thanks

Former Member
0 Kudos

if the cell is as edittext, you may set the value as

oedit = oMatrix.Columns.Item("c2").Cells.Item(q).Specific

oedit.value = "xxx"

Former Member
0 Kudos

Thanks a lot U solved my second problem also. one little question more i want to ask u. Is there any requirement for filltering the event. if do not filter the event what can be the problem.

Regards

Jitender

Former Member
0 Kudos

In case that you dont make filtering the events, the addon may be slower (depends on code you have).

Answers (0)