Options

List Table

bekiobekio Member Posts: 204
edited 2011-01-13 in NAV Three Tier
Hello everyone,

Is there any posibility when table is open to be editable false, and after some one preses F2 to get in edit mode.

Thanks,

Answers

  • Options
    ara3nara3n Member Posts: 9,255
    Yes.

    On Openform Add code

    CurrForm.Editable(false)


    Add a menu button with with item with shortcut F2

    and onpush of that menu item

    CurrForm.Editable(true);
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    BeliasBelias Member Posts: 2,998
    a better approach is to set the form to editable = true and set Inlineediting property of the tablebox to true
    Note: this works for forms but not for pages (use an approach similar to the one described by ara3n for pages, search includeindataset in mibuso for more info)
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    bekiobekio Member Posts: 204
    Is this possible in table.
    I don't want to use one form for that purpose.

    Thanks,
  • Options
    BeliasBelias Member Posts: 2,998
    tables are made to store data, not for entering it.
    why do you need this thing for a table? direct data entering in the table is usually made by developers only because they (hopefully) know what are they doing, and only if the developer is too lazy to travel through the UI :whistle:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Options
    bekiobekio Member Posts: 204
    I just don't wanted to use one form(because it gets a number).

    Anyway, thanks for you advice.

    Have a nice day.
  • Options
    BeliasBelias Member Posts: 2,998
    ok, my question is: why do you need it? do you want the customer to enter data in the table? i hope not.
    do you want to enter data in the table for testing purposes? in this case, you just don't need to have that F2 editability...if you are a developer, an accidental data entry can't hurt, isn't it? :-k
    to answer your question: no, it's not possible in the table, but just on forms/pages with the methods described above
    a nice to you, too!
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.