on 05-01-2009 11:18 AM
Hi All,
I have created an udo. and i've developed a form with object type of that udo & adding, updating, find every thing is working good. now my prob is i've another form with matrix and in that a column of linked button. now i want to open that user defined form which i'm using to add data, when i click linked button.
Thanks in advance.
Hi Jaideep,
Currently it is not possible to link the Link Button with a UDO automatically.
However you can code your own link.
this will involves :
1. Catching the item pressed event on your link button.
2. Open your UDO Form and put in Find mode.
3. Put the form in freeze mode.
4. Place the key value to your key field in the UDO Form.
5. Do a click on the find button.
6. Unfreeze the form.
hope it helps.
Regards
edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
For this you have to give your udo unique id in the Linked object property of linked button and column name in link to property..
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ocolumn = ocolumns.Add("Code", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
ocolumn.TitleObject.Caption = "Movie Code"
ocolumn.Width = 50
ocolumn.Editable = False
ocolumn.LinkTo = "Code"
olink = ocolumn.ExtendedObject
olink.LinkedObject = "Video_obj"
the above is part of my code so here in this i've given linkedobject = UDO code.
So can u suggest flaws in this code, so that i can rectify.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
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.