Skip to Content

Get the Variable Name dynamically

Hi

I want to get the variable name dyncamically. Here is a small example:

Data: T_HeadNr type string.

Data: Var_Name type string.

I want to move the name of the field T_HeadNr i.e. "T_HeadNr" to Var_Name and not the content of T_HeadNr.

any inputs is highly appriciated,.

thkx

Prabhu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 16, 2007 at 11:16 AM

    Why would you want to do that.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2007 at 11:48 AM

    You will have to hardcode something. The program cannot assume what structure/field you require.

    What is reason you do not want to hardcode the structure.

    Message was edited by:

    Martin Shinks

    Add comment
    10|10000 characters needed characters exceeded