URGENT : C/FRONT - DBL_Allow

varod
Member Posts: 14
Hi all,
Is there someone who has already used DBL_Allow in CFRONT. I want my program to not raise exit error when there a Record Not Found Error.
I used so DBL_Allow(1246192) which the error code of not found record.
Now it raises me an internal error 7 ; module 39 ...
Could you help me !! Please !!
Thanks in advance,
Vincent.
Is there someone who has already used DBL_Allow in CFRONT. I want my program to not raise exit error when there a Record Not Found Error.
I used so DBL_Allow(1246192) which the error code of not found record.
Now it raises me an internal error 7 ; module 39 ...
Could you help me !! Please !!

Thanks in advance,
Vincent.
0
Comments
-
in the example in help:
DBL_Allow(DBL_Err_RecordNotFound);
in the cf.h:
#define Module_DB 19
#define DEFINE_DBERR(xErrNo) ((((DBL_S32)(Module_DB) * 0x10000L + (DBL_S32)(xErrNo)) | 0x1000000L) | 0x4000000L)
#define DBL_Err_TableNotFound DEFINE_DBERR(1008)
#define DBL_Err_RecordNotFound DEFINE_DBERR(1008)
#define DBL_Err_RecordExists DEFINE_DBERR(1009)
#define DBL_Err_KeyNotFound DEFINE_DBERR(1007)
Hf calculating (or u got the nr already right =D> )0 -
Hi Roy,
I found the macro in CF.h before posting but i made a mistake when i try to calculate it.
In .NET 'long' type is not the same as in C. In C long ==> 32 bits ; in .NET long ==> 64 bits.
So in order to find the correct answer yo have to remove 'L' on hexadecimal values. In my code i convert them.
And now it works well \:D/
I'm going to post the .Net wrapper, as soon as I finish my project.
Bye.
Vince.0 -
hehe :P
im almost done with my internship (some navision implementations: handterminals and the performance issues)
friday next week is my last day and ill post some performance timings i founded (C/c++/c#)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions