Position Cursor on a particular column

Hi

How to position Cursor on a particular column in subform

Thanks

Answers

  • Slawek_Guzek
    Slawek_Guzek Member Posts: 1,690
    From C/AL code? - Not possible I'm afraid.
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • jsshivalik
    jsshivalik Member Posts: 67
    Hi

    Actually i want that Cursor should be the first editable column.
    I have 4 columns , First 2 column properties Edit = No. I want Cursor should be at Receipt Amount Column.

    Location , Date , Receipt Amount , Receipt Date

    Thanks
  • Slawek_Guzek
    Slawek_Guzek Member Posts: 1,690
    There is the ACTIVATE function or each control, try to call it in OnOpenForm() (CurrForm."control name".ACTIVATE) - but I don't remember how it behaves on list type forms.

    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • RockWithNAV
    RockWithNAV Member Posts: 1,172
    Just to let you know CurrForm."control name".ACTIVATE this works till NAV 2009 R2, If you are working on NAV 2013 or above you wont have this.