M
Maarkr
This has been a bad day for dbs - second big problem today. Oh well.
Turning a spreadsheet into a database for managing 3 utilities
(Oil,Power,water). Measurements are made each month that include use details
and current cost. This is for two locations. I have:
Date table
-ID, MoYear value
Locations table
- ID, two or more city names
Table for each utility measure:
-ie, Oil inlcudes BldgNo (>25 buildings), EOMInventoryAmt, DeliveredAmt,
DeliveredPrice, ID
Table for OilBuildings
- ID, BldgNo (or site)
This is so simple to do in a spreadsheet, but I'm trying to relate tables to
each other... each month has many locations with 3 utilities for each
location and many sites to measure. Thinking of just selecting the mo/yr and
using combo lookups for the location and type of utility, then have that with
many measurements subsheet with combo lookups for each site, but I would like
to view all 25 buildings to enter monthly amts for...maybe i'll just do a
mostly flat file thing with 100 sites/locations field names in a table linked
to a month table? At least the db won't have 50 worksheets like in a ssheet
and I can query it to aggregate data. Don't mind me, i ramble...
Turning a spreadsheet into a database for managing 3 utilities
(Oil,Power,water). Measurements are made each month that include use details
and current cost. This is for two locations. I have:
Date table
-ID, MoYear value
Locations table
- ID, two or more city names
Table for each utility measure:
-ie, Oil inlcudes BldgNo (>25 buildings), EOMInventoryAmt, DeliveredAmt,
DeliveredPrice, ID
Table for OilBuildings
- ID, BldgNo (or site)
This is so simple to do in a spreadsheet, but I'm trying to relate tables to
each other... each month has many locations with 3 utilities for each
location and many sites to measure. Thinking of just selecting the mo/yr and
using combo lookups for the location and type of utility, then have that with
many measurements subsheet with combo lookups for each site, but I would like
to view all 25 buildings to enter monthly amts for...maybe i'll just do a
mostly flat file thing with 100 sites/locations field names in a table linked
to a month table? At least the db won't have 50 worksheets like in a ssheet
and I can query it to aggregate data. Don't mind me, i ramble...