on 11-15-2016 11:09 AM - last edited on 02-03-2024 7:47 PM by postmig_api_4
Hi All
I have a requirement where in I need to display a picture in the picture box of a user defined form.
I have created the Field as follows:
CreateUDO.AddFieldToTable(oCompany, "I_GatePass", "DrivPic", "DrivPic", SAPbobsCOM.BoFieldTypes.db_Alpha, 200, BoFldSubTypes.st_Image)
and I have also set the path in ...System Initialization >> General Settings >> Path >> Pictures Folder.
When I double click on my UDF I am able to select the image too but post selection the image is not getting displayed in picture box and I get a message "Picture Was Not Found".
Can anyone please guide me and tell me where I am going wrong.
Regards,
Nikita
Hi Nikita,
I never needed to use this type of field, but what I understood is that field just save the name of the image, and when you use in a picture box, the path to picture is incomplete.
There are some threads with approachs for this situation:
https://archive.sap.com/discussions/thread/3296452
https://archive.sap.com/discussions/thread/3453328
https://archive.sap.com/discussions/thread/1476381
Hope it helps.
Kind Regards,
Diego Lother
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.