on 12-28-2004 5:34 PM
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
Can somebody send me this udo help file too cause i also don't have it.
My mail: steven.wijnants@ordina.be
Thx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.