• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[ANSWERED] Nitro query - edit grid

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [ANSWERED] Nitro query - edit grid

    Is there a way to have default values for fields that are part of the file, but not necessarily to be displayed on the screen when editing or adding a new record.

    in all my files i have f.e some logfields (creation date/updat date/ creation user..etc) and i can think of other examples as well..

    these fields are not intended to be displayed ,nor edited in the editgrid;
    so is there a way to have fields entered with the value (current date, current user...etc..)


    thx
    Last edited by sean.lanktree; 08-16-2019, 04:25 PM.

  • #2
    Thierry,

    As of Valence 5.1 you can setup an RPG program that can manipulate field values before the record(s) is updated/created. Example validation/modify program in Valence is "EXQRYVAL". You would use the SetValue helper procedure passing the file, field, and value.
    Attached Files

    Comment

    Working...
    X