Ad

Sunday, September 14, 2008

Modifying Incremental Stationing Report - II

While I was messing around in report for the last post I noticed that it has the problem most of the reports have when reporting station values at a set interval. The report takes the first station value and then simply adds the increment to it. So if your starting value is 4+69.24 the next station value would be 5+19.24 (if the station increment was 50). I think most people would want the starting station reported and then the next even station value, 5+00 in the example above. One way to correct the report is to do the following:

Open the report as indicated in the last post and open the ExtractData module and scroll down to the code that looks like:

image

So now make the revisions to the code as shown below:

image

I haven't tested the code if you choose an interval other than a number divisible into 100. For instance if you choose 40, I don't think it would work.

No comments:

LinkWithin

Blog Widget by LinkWithin

Ad