Primary key

mkmk Member Posts: 6
edited 2000-10-04 in Navision Financials
Is it possible to retrieve the primary key of
a table within C/SIDE?

(I know it's possible with C/FRONT but the Function
nextkey does not work in Navision...(very nice...))

Comments

  • John_TegelaarJohn_Tegelaar Member Posts: 159
    To retrieve the primary key of a table:

    Record.Reset; //clear all settings
    PrimaryKey := Record.Currentkey; //Key defaults to primary after reset

    John
Sign In or Register to comment.