Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 29th November 2016, 17:36
giodan giodan is offline
Junior Member
 
Join Date: Jun 2016
Posts: 14
giodan is on a distinguished road
Baan: Baan 4.0 - DB: SQL SERVER 7 - OS: WINDOWS 2003 R2
What does it mean "not e" after db.eq

Hi,
i'm really newbie...what does it mean "not e" after db.eq(...
Thanks in advance
Reply With Quote
  #2  
Old 29th November 2016, 21:53
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,935
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
e is a predefined variable in baan. I believe it contains error code of the last dbase transaction if I recall correctly.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.

Last edited by mark_h : 30th November 2016 at 14:45. Reason: changed oracle to baan for e
Reply With Quote
  #3  
Old 29th November 2016, 23:01
shah_bs's Avatar
shah_bs shah_bs is offline
Guru
 
Join Date: Jan 2002
Location: Lewisville, Texas
Posts: 387
shah_bs is on a distinguished road
Baan: BAAN IVc3 with A&D2.2b - DB: ORACLE 9 - OS: HPUX
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.).

Last edited by shah_bs : 29th November 2016 at 23:12.
Reply With Quote
  #4  
Old 30th November 2016, 14:46
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,935
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Quote:
Originally Posted by shah_bs View Post
I think you mean pre-defined variable in BAAN.
Good catch - I fixed so future users see what I actually meant.
__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Sponsored Links
  #5  
Old 1st December 2016, 14:56
giodan giodan is offline
Junior Member
 
Join Date: Jun 2016
Posts: 14
giodan is on a distinguished road
Baan: Baan 4.0 - DB: SQL SERVER 7 - OS: WINDOWS 2003 R2
Thank you all for the reply
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding new user "not authorized to run as..." dogueke Tools Administration & Installation 4 6th August 2003 23:48
Function of db.eq chanbaan Tools Development 1 23rd July 2003 16:11
"Not all payments processed" Erik Konrath Finance, Invoicing and Integration 1 15th May 2003 17:04
Baan Tools Buffered Selection And Db.eq abhijitag Tools Development 2 11th January 2002 16:35


All times are GMT +2. The time now is 12:21.


©2001-2017 - Baanboard.com - Baanforums.com