Your report goes trough the item ledger Entry table with key "Item No.", "Entry Type", etc.
Is this the best key for your report design (check the C/AL Code / design)?
Is there are more then on DataItem and the DataItems are linked and there this key is used?
Is this key optimal? Is there are also filters on the Item Ledger Entry DataItem (Variable) and these filters are bad for the selected key? Please check this before.
[Topic moved from 'NAV Tips & Tricks' forum to 'NAV/Navision' forum]
The fact that you see that box is that you are using a bad index considering the fields on which you filter.
You could change your report by reading the records using the correct index for your filters, save them in a temptable and then print them from the temptable.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
why do you want to hide the dialog? It can't be hidden.
Are you sure that really the issue is that you want to make the report faster, or do you really have a reason that you want this message hidden.
The only reason I could think, is that you know the report is slow, but don't want the client to know. But surely they can just see that its slow and know that something is wrong.
I suppose the real question is "Why don't you just make the report faster so that there will be no warning message?"
The only reason I could think, is that you know the report is slow, but don't want the client to know. But surely they can just see that its slow and know that something is wrong.
if this is the reason...well, it's one of the most entertaining things i've ever heard (about NAV)
Back to the topic, you can easily find these bottlenecks with client monitor, but to be honest, if you ask this kind of question, i don't think you're able to use it :-k ...otherwise, you can solve your problem in 15 minutes or less...
P.S.: you don't need to add a key, maybe an appropriate key already exists, but you're simply not using it (especially if you're not on SQL)
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
you can search on the card instead of the list and checkmark the option "Use Best Key"
This way if a key exists, the NAV will use that key to search for what ever the user is searching for.
You can't do that on the list forms.
Ahmed Rashed Amini
Independent Consultant/Developer
you can search on the card instead of the list and checkmark the option "Use Best Key"
This way if a key exists, the NAV will use that key to search for what ever the user is searching for.
This is not a report problem or not even a form problem, to just giving an example, actually my client having very heavy database, in this they have many companies. They are having this work practice to delete some of company data at the month end, they copy balances from these companies to some other main companies to maintain the balances or these companies.
In this when they delete the company it will show the record dialog box. I think it's not possible in this process to apply any key ](*,)
4 months later... :shock:
to delete SOME company data, i think they'll filter by posting date (for example)...are you sure you're using the appropriate key when you filter the date and then delete the record?
how much is the increase of the record count in the dialog?
Size of DB?Sql or not?
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
If the data is sorted correctly, the next record Navision searches for will always be the next record in the list. O(1) instead of O(n). I seriously thought I would never break out the Big O Notation...wow.
Anyway...watch your customer run the report. Look at the filters they apply and the filters applied with code. The whole point of the "searching dialog box" is to let the user know that something is still happening, the process is not completed, and that the system is not stuck. Without it you're just left to wonder.
Comments
Is this the best key for your report design (check the C/AL Code / design)?
Is there are more then on DataItem and the DataItems are linked and there this key is used?
Is this key optimal? Is there are also filters on the Item Ledger Entry DataItem (Variable) and these filters are bad for the selected key? Please check this before.
Regards
The fact that you see that box is that you are using a bad index considering the fields on which you filter.
You could change your report by reading the records using the correct index for your filters, save them in a temptable and then print them from the temptable.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I wana to do it without applying any key.
Is this possible :idea:
why do you want to hide the dialog? It can't be hidden.
Are you sure that really the issue is that you want to make the report faster, or do you really have a reason that you want this message hidden.
The only reason I could think, is that you know the report is slow, but don't want the client to know. But surely they can just see that its slow and know that something is wrong.
I suppose the real question is "Why don't you just make the report faster so that there will be no warning message?"
Back to the topic, you can easily find these bottlenecks with client monitor, but to be honest, if you ask this kind of question, i don't think you're able to use it :-k ...otherwise, you can solve your problem in 15 minutes or less...
P.S.: you don't need to add a key, maybe an appropriate key already exists, but you're simply not using it (especially if you're not on SQL)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
RIS Plus, LLC
MVP - Business Apps
This way if a key exists, the NAV will use that key to search for what ever the user is searching for.
You can't do that on the list forms.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
This is not a report problem or not even a form problem, to just giving an example, actually my client having very heavy database, in this they have many companies. They are having this work practice to delete some of company data at the month end, they copy balances from these companies to some other main companies to maintain the balances or these companies.
In this when they delete the company it will show the record dialog box. I think it's not possible in this process to apply any key ](*,)
to delete SOME company data, i think they'll filter by posting date (for example)...are you sure you're using the appropriate key when you filter the date and then delete the record?
how much is the increase of the record count in the dialog?
Size of DB?Sql or not?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Anyway...watch your customer run the report. Look at the filters they apply and the filters applied with code. The whole point of the "searching dialog box" is to let the user know that something is still happening, the process is not completed, and that the system is not stuck. Without it you're just left to wonder.
My Blog - nav.education
try almost a year...
didn't notice the first one...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog