Auto increment primary id when handcoding

Hi Werner

re formatting Clarion code in your messages here, see:

Separately, with ABC code like insert() it is better to avoid checking errorcode() but instead say something like:

if Access:Navn.Insert() <> level:benign
  <error handling>
end

or you could use Access:Navn.TryInsert() if you want more control of the error messages etc.

cheers again

Geoff R

[Edit: I see Rich beat me to it re Level:Benign]

1 Like