How to Save Media Object on Headerless-Detail form?

MarcelEndema

MarcelEndema

Active Member
I designed an Appl. with a Headerless-detail form, which contains a grid and a Media object.
The table which I use contains a next-number item (NNBR) as Key.
I made a data object GTxxxx with mapping to NNBR

On the Grid-event "Row is Entered" I'm using Media Object Structure GTxxxx to be able to Edit.

The problem which I'm facing is the event where to save my object.
I tried to make it work on a Row-Exit with "Media Object Structures(GTxxxx, FC Media Object ##, <Save>, VA frm_Status_EV01, GC NextNumber)"
, which does not work. neither does using BC Nextnumber.

On the form I inserted a button wich works with "Media Object Structures(GTxxxx, FC Media Object ##, <Save>, VA frm_Status_EV01, BC NextNumber)"
this button does not work with GC NextNumber

I'd rather use the Row-Exit for cosmetic reasons, is there a workaround method to make this work
 
Why don't you use Form Designer/Form/Media Object Setup to manage adding/consulting your docs ??
 
Sorry for the late reaction, I was out of office.
Gargamel, your suggestion works but I wanted to integrate the Media Object in the form and not being a separated input-form.
 
Back
Top