Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

String to image field..

oferp
Level 1
Level 1

Hello all,

     shortly,   this is what i need:

     does anyone have an idea how to show string in an image field????

     now for the long story..:

     I have a table, that all cells are image fields.

     I send to some of them a xstring of a picture, and they  are showing me the pictures (works fine).

     Now, i've got a demeand -

          if i have an indicator - i need to put this thing:

          "date: xx/xx/xxxx time xx:xx"

          this date and time can be changed every run.

     I though to make something like that:

          data: lv_string type string.

          lv_string = 'date 22/12/2012'

     then convert it to XSTRING with the fm 'scms_string_to_xstring'.

     but even then - when i send this xstring, the image field won't show the text. Actually it won't show anything.

     does anyone have an idea how to show string in an image field????

4 Replies
radzmar
Level 10
Level 10

Hi,

image fields only support base64 encoded image data.

You cannot use such fields to display texts, except you use an image that represents that text.

oferp
Level 1
Level 1

so, can i make a cell to contain text, and if the text is longer then the width of the cell, to let it override the next cells?

radzmar
Level 10
Level 10

Um ...

... maybe.

I remember a custom solution from John Brinkman to continue text entries in the text field when the current field is full.

http://blogs.adobe.com/formfeed/2009/04/field_tab_on_full.html

This solution will propably work in a table too, but it's not a 5 minutes job to be realized.

Jono_Moore
Level 10
Level 10

You can set text cells to expand vertically to handle more text. Is that the kind of thing your are looking for?