MEGMS logo - go to the home page
  1. Home

    1. MEGS_Log

      1. MEGS_Log Downloads

      2. MEGS_Log Documentation

        1. MEGS_Log version 3.3 Help

          1. Copyright notice and licence agreement

          2. How to contact MEGS_Log support

          3. What's new in MEGS_Log 3.3

          4. Concepts in MEGS_Log

          5. How to carry out common tasks within MEGS_Log

          6. Menus and commands

          7. Window elements and dialogs

            1. Title bar

            2. The toolbar

            3. Context Help command

            4. Toolbar docking area

            5. Borehole fields

            6. Trace fields

            7. Scrollbars

            8. Ruler

            9. Status bar

            10. About MEGS_Log dialog box

            11. Bitmap Editor dialog box

            12. Calculate Trace Average Value dialog box

            13. Colour dialog box

            14. Correlate dialog box

            15. Error list dialog box

            16. Field Definition dialog box

            17. Font dialog box

            18. Import Schema dialog box

            19. Hatch List Editor dialog box

            20. Licence Information dialog box

            21. Enter Licence Key dialog box

            22. Open Borehole dialog box

            23. Open Trace dialog box

            24. Options dialog box

            25. Page Setup dialog box

            26. Paste Special dialog box

            27. Print dialog box

            28. Print Progress dialog box

            29. Print Setup dialog box

            30. Relabel Sample Numbers dialog box

            31. Sample Number dialog box

            32. Save Borehole dialog box

            33. Save Changes dialog box

            34. Schema Editor dialog box

            35. Seams and Plies Editor dialog box

            36. Select Borehole Field dialog box

            37. Select Schema dialog box

            38. Set Depth dialog box

            39. Set Display Top Depth dialog box

            40. Set Rock Type dialog box

            41. Select Scale dialog box

            42. Shift Trace dialog box

            43. Trace Defaults Editor dialog box

            44. Trace Manager

            45. Unit Properties dialog box

            46. Vector Editor dialog box

            47. Print preview toolbar

          8. List of appendices

          9. MEGS_Log version 3.3 Help Index

    2. CoalLog tools

    3. Fortran Tools

    4. Contact Us

  2. Site map

"Let's model me a mine"


Mining & Exploration Geological Modelling Services

Previous topic Parent topic Home topic Next topic

Relabel Sample Numbers dialog box

Use the Relabel Sample Numbers dialog to change the sample numbers for a range of units. To display this dialog select the Relabel Sample Numbers command under the Tools menu or click the Relabel Sample Numbers toolbar icon (Relabel Sample Numbers toolbar icon).

Dialog box image

A sample number recognised by MEGS_Log is broken into three parts - an optional alphabetical prefix, a required number (containing only digits) and an optional alphabetical postfix. This dialog box lets you consistently change any of those three parts for the sample numbers in a borehole.

If the Maintain original checkbox for any part is checked then that part of the sample number will be left unchanged. Otherwise you can specify a new prefix, postfix or starting number.

If the Maintain sample order checkbox is not checked, then each subsequent sample number encountered in the hole will be given a number part that is one greater than the number part for the previous sample number. This renumbering always works from the highest (most shallow) unit down. If the checkbox is checked, then the difference between the new number part and the original starting number part is applied as an offset to all subsequent number parts.

For example, for an original initial sample number A01B and a new initial sample number part 11, the sequence of sample numbers down the whole would change as follows:

Original sample number
(In order down the hole)
Maintain order checkbox
Clear Checked
A01B A11B A11B
A02B A12B A12B
A04B A13B A14B
A03B A14B A13B

You can set or alter the width of the number part via the Number field width value. The number part will be padded with leading zeros so that the number of digits in the number part matches this width. If the number part requires more digits than the width the full number is still included - it is not truncated.

If a borehole is currently selected but no units within that borehole are selected then the relabelling happens over all units within that borehole. If a single unit within a borehole is selected then the relabelling happens over all units from that unit down. If more than one unit is selected then the relabelling is limited to that selection. Note that this selection needs to be made prior to displaying the dialog box. For more information on selecting units within a borehole see How to select units.

Sample numbers that don't follow the format recognised by MEGS_Log may not be updated as expected by this dialog box.