Mileage Chart Spreadsheet to Ninox Table
What would be the best way to put the data from a Mileage Chart Spreadsheet into a Ninox Table for look up?
These are the fields that I am thinking of…Origin, Destination, Mileage.
But, it seems that if I did that, then I would need several destination records for each origin record, and probably a lot of unnecessary typing.
I frequently travel between (and get paid for the miles between) the same 20 destinations. So, I am looking for an elegant solution to look up the miles, based on the origin and destination.
Mileage Chart Spreadsheet Sample
7 replies
-
Here are my two cents.
There are five tables:
States
Cities
Trips
Log
LogTrips (child of Log)
The first two do what their name suggests.
Trips is where you put in the two cities and the distance.
Log is where you enter in a date then in a child table track the trips taken that day.
LogTrips is where you track which trips you made on a particular day. You can add one trip or many trips.
There is three ways of tracking trips so take a look in the DB.
-
Thanks for your suggestions. Allow me to add some context that may help explain how I need to use the Mileage Look Up Table.
Unfortunately, as a truck driver, the industry standard for mileage is the Household Goods Mileage Guide (aka HHG) which is compiled and sold exclusively through Rand McNally as MileMaker: https://fleet.randmcnally.com/product/mileage-route-planning
For my purposes, I run between the same 18 or so places, so, at this time, I don’t need (or want) the full Rand McNally suite. The Google API is of no use, since it uses practical miles and is designed for cars.
I was hoping that I could somehow create a simple look up table using my 18 locations (I can easily plug in and update the Household Goods Mileages between those 18 locations based on my paid mileage history).
At this time, I don’t need to use the mileage chart to plan a route or track trips; I need the mileage chart to look up paid miles.
Perhaps, at some point, I could use Rand McNally Milemaker, but at that point, I would negotiate a price for the use of their API. I have many miles to drive before getting to that point.
Perhaps, after gaining some contextual understanding, you are willing to take another crack at my problem.
Any help is appreciated, but I understand if you would rather move on to other issues.
Chris
-
Chris Thomasson said:
At this time, I don’t need to use the mileage chart to plan a route or track trips; I need the mileage chart to look up paid miles.I guess I'm missing something, but isn't my example a way to look up paid miles? You create a new trip log and it will look up the distance. I did forget to include a formula to add up all of the distances in a day. You can create a formula field in Log and put:
Depending on which method you are using: sum(logtrips.Distance) or sum(logtrips.Distance2)
Then this will show you the total distance in a day.
Content aside
- Status Answered
- 1 yr agoLast active
- 7Replies
- 227Views
-
3
Following