How To Prepare a Map To Include With A Work Order

Conquest provides the capability to automatically include a map on a work order.  The process is completely based on configuration in the Standard Action and requires no user input

The map is actually an image prepared by Conquest Map based on Actions or Defects included on the Work Order.  It therefore requires that the work order report format is designed to incorporate the image that is prepared.

To include a map on a work order:

Step 1.       Ensure that a Conquest Map licence (either a full licence or hidden licence) has been allocated to any user that will be creating the work order

Step 2.       Open the Work Order report in Design View to incorporate the map.  This is done by doing the following:

    Place an image control (example name control – MapPicture) in either the Report Header or Report Footer.  The settings for the image control should be as shown below:

    Place a hidden text box control (example name control – AssetID) bound to the ActionID of the Action that will be passed to the work order.

    Place the following code in either the OnReportHeader_Format event or OnReportFooter _Format event depending where you place the image control containing the map.

   On Error Resume Next

   Me.MapPicture.Picture = Run("WorkOrderMap", Me.MasterID)

Step 3.       Configure the Standard Action with the appropriate settings