giodan
29th November 2016, 17:36
Hi,
i'm really newbie...what does it mean "not e" after db.eq(...
Thanks in advance

mark_h
29th November 2016, 21:53
e is a predefined variable in baan. I believe it contains error code of the last dbase transaction if I recall correctly.

shah_bs
29th November 2016, 23:01
I think you mean pre-defined variable in BAAN.

If it is zero, then everything is o.k.

Otherwise (non-zero) there is an error.

The error can be determined by the number stored in e

Look up Error section in the BAAN Help.

The errors are 'classified' as follows:
1 to 99 are generated by the operating system (UNIX like)
100 to 899 are database errors
(for example: 100 means a duplicate during INSERT)
900 to 999 are network errors

The easiest way to look at the statement 'if not e' is to read it as 'if not error'. (It is a bit backward if one thinks too much about it.).

mark_h
30th November 2016, 14:46
I think you mean pre-defined variable in BAAN.

Good catch - I fixed so future users see what I actually meant.

giodan
1st December 2016, 14:56
Thank you all for the reply