Unused Keys Tool v3.0 (Beta)

Administrator
Member, Moderator, Administrator Posts: 2,506
Unused Keys Tool v3.0 (Beta)
This tool allows you to make complete analysis of key and SumIndexField usage in a Navision Database.
http://www.mibuso.com/dlinfo.asp?FileID=755
Discuss this download here.
This tool allows you to make complete analysis of key and SumIndexField usage in a Navision Database.
http://www.mibuso.com/dlinfo.asp?FileID=755
Discuss this download here.
0
Comments
-
You know, Ed, this might be the single most important thing that happened to Navision. Because, in real life, not the fancy things are that what count but performance, raw speed. Well done!0
-
wow
The documentation is excelent. Great Job. There is that 1 hour barrier that have to spend to compile this, and post the results for all the standard navision tables. Now risking putting this on actual database and modifying all the tables will increase the number of objects modified.
This will be very usefull for performance trouble shooting as the author mentioned.
Thank you.0 -
First of all: great idea, well done. =D>
I encountered two problems. The first one was an errormessage about an invalid third parameter when using COPYSTR (value cannot be negative). The error occurred in Codeunit 70200 Unused Keys, Function FileAnalyse:
Old code:varObjectName := DELCHR(COPYSTR(TextBuffer,PosBreacket+1,PosWhere-PosBreacket-1),'=','"');
New code://AJK.ns IF PosWhere = 0 THEN varObjectName := DELCHR(COPYSTR(TextBuffer,PosBreacket+1),'=','"') ELSE //AJK.ne varObjectName := DELCHR(COPYSTR(TextBuffer,PosBreacket+1,PosWhere-PosBreacket-1),'=','"');
The second problem is much more difficult. I get an errormessage about not enough stack memory due to incorrect usage of recursive functions. :-k I have to investigate to see where this problem occurs. #-oA good programmer makes al the right mistakes
My blog0 -
Only one problem yet.
txt_cashregnewrecorddenied@1109400015 : TextConst 'DEU=Neuer Datensatz wurde abgelehnt!;ENU=New Record was denied!';
Failed on english translation - "Record"
codeunit 70200 SelectRecord
IF (STRPOS(TextBuffer,' Record ') > 0) OR ((STRPOS(TextBuffer,' RecordRef') > 0)) THEN...
But this is not reference.
IF (STRPOS(TextBuffer,' Record ') > 0) OR ((STRPOS(TextBuffer,' RecordRef') > 0)) AND (STRPOS(TextBuffer, ' TextConst ') = 0) THEN...
the helpful..
Thanks for good utility!0 -
Hi,
I’m using this tool and I get this error:
Overflow under type conversion of Text to Text.
Value: PayPaidDays."Professional Tax"
in form: Tax Professional Tax
But when i compile this form no errors!!!
whats happening????0 -
It means that some text is put into a text-variable that is too small.
E.g. you want to put 'This is the string' into a Text10. The variable is too small.
With the debugger you can check where the error occurs.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hello,
Here you are another error to fix:
If we have in a Codeunit setcurrentkey("Order No_", Correction); where between the fields there is a space, in this sitation the tool doesn`t mach it with the proper key from the table.
I made test where i deleted the spaces and the tool works.
BR0 -
i keep getting overflow from text to text error here!
NoteIndexUseCalcSums(PosCalcSums : Integer;VarNameCalcSums : Text[30];FieldsStr : Text[1000]) FieldsNo := SubStrNo(FieldsStr,',')+1; FOR N:= 1 TO FieldsNo DO BEGIN IF STRPOS(FieldsArray[N],VarNameCalcSums) > 0 THEN FieldsArray[N] := COPYSTR(FieldsArray[N],STRLEN(VarNameCalcSums)+2); FieldsArray[N] := DELCHR(SELECTSTR(N,FieldsStr),'=','"'); //HERE FieldsArray[N] := DELCHR(FieldsArray[N],'<>',' '); END;
i declared the both variables (fieldsstr,fieldsarray) at lenght 1000 but i still have the error...now i changhed all field lenghts to 250...i know it's not the best approach, but it's easier like this than debugging this ton of code... :whistle:
EDIT: neither increasing field lenght solves the problem...i give up0
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