Skip to Content
0
Former Member
Jan 10, 2008 at 10:44 PM

Run time column names as parameters

45 Views

Hi SDN,

I am trying to use a FORM/ENDFORM which can work for many internal tables in my project except that a couple of field (table columns) names differ. In other words, just for two assignment statements I may have to repeat rest of the code, unless there is a way to 'reference' these fields.

Is there a way to pass the field names as a parameter to the FORM? Can someone give me an example if that is possible. I looked at the FIELD SYMBOL but don't know how to use it in a FORM.

Thanks for the help.

Saf.