cancel
Showing results for 
Search instead for 
Did you mean: 

Navegation ToolBar Buttons Navegation

Former Member
0 Kudos

I have a form that contain two EditText item bound to the Code and Name column of a usertable.

I want that click item First Record, Last Record,.. then Toolbar , browse the rows in Items of Form.

Is it possible ??

I am using SBO 2004 .

Thanks .

Jose Antonio

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Can somebody send me this udo help file too cause i also don't have it.

My mail: steven.wijnants@ordina.be

Thx

Former Member
0 Kudos

Hi Angel,

I have found the help files the SDK UI 2004 and the samples .

If you give me your email , i send you.

Thanks Sebastian and especially Trinidad.

Former Member
0 Kudos

Hi Jose Antonio,

here is my adress: angel.fernandez@fillgap.es

Thanks for that.

Former Member
0 Kudos

Hi Trinidad,

I don't find the SDK 2004 help file , alone I have the of the version 6.5 and in those ficheros I do not find anything UDO.

I have found in the web but I don't found . You can tell me where to find them.

Jose.

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

If you have fully installed the SDK version 2004 you should have the SDK directory containing all help files inside (UDO, UI API, DI API, JCO and DI Server).

Try to have a look at your SDK 2004 CD and the installation document instructions.

UDO's are new in 2004 version and are not in 6.5 version.

Regards

Trinidad.

Former Member
0 Kudos

Hi,

I've installed 2004 version and these help files and examples are not in the CD 2004 version SP00 PL05.

I've talked to my local filed in Spain and they haven't this help available for us now.

Is there any other way to get this help files and examples????

Former Member
0 Kudos

Hi Trinidad,

I have been looking at for UDO but I have not found informacion.

Using UDO serious a thing seemed to this.

oUDO = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)

oUDO.Code = "Code"

oUDO.Name = "Name"

oUDO.TableName = "@TCONDUC"

oUDO.ObjectType = SAPbobsCOM.BoUDOObjType.boud_MasterData

oUDO.Add()

oForm.BusinessObject = oUDO ?????

The previous line is error in VB

Jose.

Former Member
0 Kudos

Hi Jose,

once the UDO is created, this is the code to create a form, and link it to the UDO. This example use an XML file to load the form. Th XML File already contains the conbtrols linked to the DBDatasources.

Dim creationPackage As SAPbouiCOM.FormCreationParams

creationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)

creationPackage.UniqueID = NewFormUID

creationPackage.FormType = TheFormType

creationPackage.ObjectType = <b>UDOCode</b>

creationPackage.XmlData = XMLDefinitionOfFile

SBO_Application.Forms.AddEx(creationPackage)

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

You should have a special help file for UDO into the SDK help files.

You should have also a UDO sample into the SDK samples explaining how to use UDO.

Regards

Trinidad.

Former Member
0 Kudos

Thanks Trinidad,

It is go fine.

if I switch the form from Browse mode to Find , then button is meet Find mode, but the EditText contain previous values.

I have clear out explicitly all of the EditText fields using the String or Value property or there is some way to do it automatic ??

And an it finalizes cuestion,

If I modify a field, automatic the button is put in way Update , but al I press the boton , the message appears in the statusbar : Update correctly, but has not saved the changes.

Thanks for all.

Jose Antonio.

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

You must do everything by hand (clear EditText in Find mode and also save values after pressing Update).

If you want everything to be done automaticaly you must use User Defined Objects.

Regards

Trinidad.

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

You should add at the end of your your form creation

oForm.DataBrowser.BrowseBy = "MyEdTxt"

with "MyEdTxt" the ID of your EditText you want to browse by (usually the key of the object you want to browse by)

Hope it helps

Trinidad.

Please close this message if the answer helps you.