>From: al-jouhar <adel@q8petroleum.com.kw>
>Subject: displaying substring in a form, can I ??
>Date: 27 Jan 1995 14:58:38 GMT
>X-Informix-List-Id: <news.11128>
>I can't display substring in a form
>f01=table.column[2,10];
>instructions
>screen record screen-rcd [4] (table.column)
>giving me error no -2950, or,
>screen record scr_rcd [4] (table.column[2,10])
>giving me error no -2018
Use FORMONLY fields for the display tags which need to be substrings.
Then build the screen records referring to the FORMONLY fields at
appropriate places.
f01 = formonly.substring1;
instructions
screen record scr_rcd[4] (formonly.substring1)
Note that you can't use sub-strings in DISPLAY as you get error -4402:
DISPLAY table.column[2,10] TO formonly.substring1
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>