Options

FieldRef

jmlozaresjmlozares Member Posts: 110
How do I reference a certain field in a record by using fieldref variable??
Janderol Lozares Jr.
Manila, Phils.

Comments

  • Options
    HalMdyHalMdy Member Posts: 429
    As explained in C/SIDE Guide :


    Field := RecordRef.FIELD(FieldNo)
    Field

    Data type: fieldref

    RecordRef

    Data type: recordref

    The recordref of the record for which you want the fieldref.

    FieldNo

    Data type: integer

    The number that the field has in the table that is currently selected. This is the field for which you want the fieldref.


    Hope that answer your question ...
    Cheers,
  • Options
    jmlozaresjmlozares Member Posts: 110
    Thank you!!!
    Janderol Lozares Jr.
    Manila, Phils.
  • Options
    eromeineromein Member Posts: 589
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
Sign In or Register to comment.