Options

how to set editable = false in pages?

julkifli33julkifli33 Member Posts: 1,073
edited 2011-05-31 in NAV Three Tier
hi all
i add new field in table
and then i want to set non editable this field
editable <TRUE>
i change become editable <FALSE>
but it failed
does anyone know how to set editable in pages?
thanks

Answers

  • Options
    SogSog Member Posts: 1,023
    A field defined as non-editable in the table cannot be changed to editable on a page.
    Properties on a table superseed properties on a page (always in a negative connotation)
    yes on table but no on page = no
    yes on table and yes on page = yes//d'uh
    no on table and yes on page = no
    no on table and no on page = no//d'uh
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • Options
    julkifli33julkifli33 Member Posts: 1,073
    Sog wrote:
    A field defined as non-editable in the table cannot be changed to editable on a page.
    Properties on a table superseed properties on a page (always in a negative connotation)
    yes on table but no on page = no
    yes on table and yes on page = yes//d'uh
    no on table and yes on page = no
    no on table and no on page = no//d'uh
    so... what should i do in my page?
    i set it as editable in table...
    but i want non editable in page
  • Options
    mohana_cse06mohana_cse06 Member Posts: 5,503
    Create a boolean global variable and in properties set true for include in dataset

    Make it to false in onopen or wherever you want and assign that variable in editable property of that field in page
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    julkifli33 wrote:
    Sog wrote:
    A field defined as non-editable in the table cannot be changed to editable on a page.
    Properties on a table superseed properties on a page (always in a negative connotation)
    yes on table but no on page = no
    yes on table and yes on page = yes//d'uh
    no on table and yes on page = no
    no on table and no on page = no//d'uh
    so... what should i do in my page?
    i set it as editable in table...
    but i want non editable in page
    But if you set to False the Editable property of the field, doesn't work?
    ~Rik~
    It works as expected... More or Less...
  • Options
    julkifli33julkifli33 Member Posts: 1,073
    julkifli33 wrote:
    Sog wrote:
    A field defined as non-editable in the table cannot be changed to editable on a page.
    Properties on a table superseed properties on a page (always in a negative connotation)
    yes on table but no on page = no
    yes on table and yes on page = yes//d'uh
    no on table and yes on page = no
    no on table and no on page = no//d'uh
    so... what should i do in my page?
    i set it as editable in table...
    but i want non editable in page
    But if you set to False the Editable property of the field, doesn't work?
    no it can't
    it is not simple as you modified the form
  • Options
    julkifli33julkifli33 Member Posts: 1,073
    Create a boolean global variable and in properties set true for include in dataset

    Make it to false in onopen or wherever you want and assign that variable in editable property of that field in page
    1 global variable only for 1 field?
    or 1 global variable for whole page?
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    julkifli33 wrote:
    Create a boolean global variable and in properties set true for include in dataset

    Make it to false in onopen or wherever you want and assign that variable in editable property of that field in page
    1 global variable only for 1 field?
    or 1 global variable for whole page?

    you can use 1 variable in all fields/groups.
    you only have to set editable property, for fields/groups, equal to the boolean variable.
    ~Rik~
    It works as expected... More or Less...
  • Options
    julkifli33julkifli33 Member Posts: 1,073
    julkifli33 wrote:
    Create a boolean global variable and in properties set true for include in dataset

    Make it to false in onopen or wherever you want and assign that variable in editable property of that field in page
    1 global variable only for 1 field?
    or 1 global variable for whole page?

    you can use 1 variable in all fields/groups.
    you only have to set editable property, for fields/groups, equal to the boolean variable.
    ok then
    thanks for the info
    do original nav page have used this method?
    so i can follow
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    oh yes! Customer Card has a variable called ContactEditable used for this aim. :D
    ~Rik~
    It works as expected... More or Less...
  • Options
    julkifli33julkifli33 Member Posts: 1,073
    oh yes! Customer Card has a variable called ContactEditable used for this aim. :D
    owww okay
    thanks a lot !! :)
    just add
    OnInit()
    ContactEditable := TRUE;
    

    and then Editable in Contact become ContactEditable

    so simple
  • Options
    Troubles_In_ParadiseTroubles_In_Paradise Member Posts: 588
    julkifli33 wrote:
    oh yes! Customer Card has a variable called ContactEditable used for this aim. :D
    owww okay
    thanks a lot !! :)
    just add
    ContactEditable := TRUE;

    and then Editable in Contact become <TRUE>

    so simple

    :D yes! I used a lot this feature it's very comfortable
    ~Rik~
    It works as expected... More or Less...
Sign In or Register to comment.