Thx Steffan,

that was exactly wht i did so far. Was hopeing that there is a
smarter solution with passing params or something like that.

Too bad ..

don't realy like this messy code. But seems i have to deal with it.

Pirmin

--- In [EMAIL PROTECTED], Steffan Engholm
<[EMAIL PROTECTED]> wrote:
> Sorry, something went too quick - I'll try again...
>
> I'm not sure if I completely understand what You
> try to achieve, but I'll give it a try:
>
> You have a row with 4 columns (fields), 1 for each
> type of a records value.
>
> Actually You need 4 display methods, one for each
> field (display methods don't take parameters).
>
> Each display method could look lige this:
>
> display returnValueType displayMethod1()
> {
>     returnValueType ret;
>     ;
>     if (table.field == "Value1")
>         ret = table.field
>     return ret;
> }
>
> Best regards
>
> Steffan
>
> --- pbercher <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > i want to create a display method to print 1 of 4
> > possible states of
> > a field.
> >
> > but print out (on report) the 4 columns.
> > eg: you have the values from 1 to 4 in 4 records,
> > i want the method to
> > fetch value 1 and print in field called VAL1
> > fetch value 2 and print in field called VAL2
> > and so on
> >
> > the thing is not, how to determine the field value
> > is 1 ot 4, but
> > how to
> > call the method from the display element in report
> > define method, so it accepts the calling parms.
> >
> > Sorry terrible newbie programmer
> >
> > THX
> >
> > Pirmin
> >
> >
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what you're looking for faster
> http://search.yahoo.com



Yahoo! Groups Links

Reply via email to