Multilevel list skip numbering - ms-word

I have created a multilevel list for being able to reference to table rows in a word document. Multilevel list thread
With the multilevel list I struggle to skip numbers. The table numbering is divided into two levels. NNN and NNNL, where N: Number and L:Letter.
Example:
1. Header 1
101
101a
2. Header 2
201a
The numbering below header 1 works fine, but header 2 does NOT work.
The numbering are used for clauses in a document, so in case a clause is divided into different conditions, the class NNNL is used. However, as it is now, it needs the NNN for create NNNL.
I have tried using 'Set numbering value' - 'Continue from previous list' - 'Advance value (skip numbers)', following this solution suggestion, but following this guide still results in the addition of a level NNN before (see below for examplification).
2. Header 2
201 <- This is added
201a
Can't I skip a numbering value of a list level above the item I wish to change?
Edited:
Also, when having a subheader I face issues. If the first clause after a subheader is divided into subclauses, I get
101
1.1 subheader
101a
What I want is this
101
1.1 subheader
102a
I have uploaded a word-file I have uploaded a word-document here which shows the issue.

Set both Level 2 and Level 3 to restart after Level 1 (in the dialog box described in the Answer of first post to which you link). This way you can leave out Level 2 and Level 3 will still restart.

Related

Crystal Report - Label Printing with a varied page counter

So, our branches are wanting shipping labels created which I have created a template on Crystal reports.
Our issue is using the NofM function. If the user prints one label it will say 1of1 which is correct. We want it so the counter is determined by the number of prints they require for example:
If the user prints 4 pages it will be 1of4 to 4of4.
Any assistance would be appreciated
In Field Explorer, expand 'Special Fields'.
Use the 'Page N of M' special field.
It sounds like you need a solution to duplicate the printing copies based on a parameter.
Option 1. if the max expected quantity is not too large, you can create multiple sections (Details a, Details b, Details c, ...) and use a dynamic suppress condition to hide the sections beyond the quantity parameter.
Option 2. Create a "REPEATER" table with a single column (How_Many) and rows for 1 | 2 | 3 | 4 | 5 | 6 | ...
Now, in your report, add the REPEATER Table and add a Record Selection condition of
{?QTY} >= {Repeater.How_Many}

Is it possible for MS Word document to have multiple paging groups?

I'm sorry, I don't know what is the proper term for it. But I want to have multiple paging group in my documents. For example, the first 3 pages have their own separate pagination. like page 1 of 3, page 2 of 3, 3 of 3. Then the next 2 pages will have their own paging - 1 of 2, 2 of 2. And so on and so forth. If yes, what is the proper term for it and how to do it using Open XML SDK? Also during merging multiple documents, how to retain these paging? Thanks!
You can insert section breaks.
Within a section you can either continue the page numbering from the previous section or start page numbering with a selected page number. See menu Layout.

Combining duplicate rows in Crystal Reports

I posted this question already on another forum, but have not got any responses yet and requiring a solution quickly: https://answers.sap.com/questions/384242/combining-duplicate-lines-in-crystal.html
For various reasons to do with product numbering customization on our SAP B1 system, we can have no more than two of our standard items on a row in a sales order or invoice. All other items, such as accessories and non-numbered items we can put as many on a row as we want. To save any questions, this process cannot be avoided.
The issue is that this means we get some very strange looking invoices. For example if I sell 15 of our standard item 'A' and 15 of our standard item 'B' with 30 accessories to match, I can either bill out 15 lines each containing one 'A' and 15 lines each containing one 'B' then one line containing all the 30 accessories. Otherwise, I can bill out 7 lines each containing two of 'A', then one line containing the 15th A, then 7 lines each containing two of 'B', then one line containing the 15th B, and finally one line containing 30 accessories.
Is there any way that, in the case that an invoice contains rows with identical length, width, height and colour (or any other fields if it makes it easier), crystal can be configured to combine the rows into one and return the sum of the quantities and the sum of the prices in the relevant columns?
Added images below:

Displaying a 'Top Result' with Algolia?

I want to search 3 different indices at once, breaking out their results into 3 separate sections.
Above these 3 sections though, I want to display a 4th section with a single result row, and this section will be titled "Best Result".
It should take the best result of the 3 indices that most perfectly matches.
Does anyone know how I can achieve this? Thanks!
By design, when the ranking of each index is properly set (both attributeToIndex, and customRanking settings filled), the Algolia engine returns the most relevant et popular results for each new search request. First the one without typos and with perfect matches, then the others...
Which mean that if you want to display all the top results on a single page, you only need to take the N first result of each index.
Then it's just a matter of display. Like on the following websites, you can imagine to display those results into multiple columns:
http://telly.com/
Prototype built using the TED API
Feel free to look at tips about the best way to display result hits in multiple columns using Algolia and Bootstrap 3
Beside that you can also consider passing the getRankingInfo=1 parameter with your search query, and filter the results displayed accordingly to the matching info returned for each hit within the _rankingInfo property.
firstMatchedWord: 2000
geoDistance: 0
geoPrecision: 1
nbExactWords: 2
nbTypos: 0
proximityDistance: 1
userScore: 9499
words: 2

Print Multiple Copies of Record Crystal Reports

I have a report that is only one record, however, the user specifies how many times it needs printed, let's say 10. Each time it prints it prints 4 of the same report. Like this, Page 1 x 4, Page 2 x 4, Page 3 x 4, etc. With 10 copes their will be 40 pages altogether.
Update:
I was able to get all the pages I needed based on the values the user inputs. So if there are 10 pallets I have 40 pages of labels, which is correct. Now the control number part that needs to be displayed. It is kind of like a page number but every 4 pages the number needs to increment by 1. I assume I can use WhilePrinterRecords and some how increment, but I am still new to Crystal and unfamiliar with it.
Example:
Page 1: Control number 1
Page 2: Control number 1
Page 3: Control number 1
Page 4: Control number 1
Page 5: Control number 2
Page 6: Control number 2
Page 7: Control number 2
Page 8: Control number 2
This would continue until there is no more pages to print.
if you want 4 copies for each label, what you could do is create 4 sections on the report with the same info. Make sure that you assign the label size to each page(e.g. 4x6). e.g. if you have that info on your header, create PHa, PHb, PHc and PHd, same for details or PF.
don't know if this could work for you, but at least is a recommendation. You can create suppressed sections with the same info(e.g. 10 sections) and create a parameter that control that suppress condition defaulted in 4. If the user what to print 5, it will enable section 5th, same if want to print 3 it will suppress the 4th.
Upadte: how to get the increment:
place a formula on your page footer like below one. It will return value when gets an integer and suppress it when is equal to 0(right click on it, number tab, customize, suppress if 0).
if pagenumber = Ceiling(pageNumber,4) then numbervar page := page +1
then place another formula on your PF as well like below one and suppress it when pagenumber = Ceiling(pageNumber,4) so it won't show when the other has value and put one overlapping the other to get the value in the same place.
if {1st formula} <> 0 then numbervar page1 := {1st formula};
page1 + 1
2nd Update:
Because is a label and your details are acting as a new page do this:
create a new detail section, so you will have details a and b and place your formulas on details b
I have used additional tables for such tricks; these tables must be linked to report to multiply main query results. Some care has to be taken to not allow multiple users printouts to mix.
Example, assuming your report query has some unique id to link and your user/session has also some unique id:
you create table cr_special(reportid int, userid int, ctlnumber int)
you design report, linked to this table by reportid and filtered by userid; changing ctlnumber field is taken from your special table
before printing, you delete all records with reportid/userid combo and insert new ones
you print report, giving userid as parameter
Say you want to print 10 reports with increasing numbers - then you insert 10 records into your special table with ctlnumber increasing from 1 to 10.
Variation of this solution is to use some other non-related table, like our all-dates-containing dates table :)
Both of these solutions are ugly, but they usually work.
Another approach is to use some stored procedure to return these sequential numbers as records and link your report to such procedure; Crystal Reports and stored procedures do not behave always well however.