J
Jeff Borden
I am working on a project where I want a sub-form to show all records from
one table, even if there are no matching records in another table, allowing
the user to add data to match those new records.
The key fields I'm working with are these:
TABLE 1: PROPERTY
PROPERTY.NAME
PROPERTY.PROPERTYID
....
TABLE 2: PERIOD (this table has approx. 90 consecutive days listed)
PERIOD.DATE
PERIOD.ID
....
TABLE 3: INVENTORY (this table stores the available inventory)
INVENTORY.PROPERTYID <- link to Properties table
INVENTORY.DATE
INVENTORY.BEDS
INVENTORY.RATE
....
I want the main form to show the Property, and the subform to be something
like this:
DATE - BEDS - RATE
I can get that much working OK, but the form will only show dates that
already have matching records in the INVENTORY table, but I want it to show
ALL dates from the PERIOD table, even if there is no record in INVENTORY for
that PROPERTY<->DATE combination... HELP!
one table, even if there are no matching records in another table, allowing
the user to add data to match those new records.
The key fields I'm working with are these:
TABLE 1: PROPERTY
PROPERTY.NAME
PROPERTY.PROPERTYID
....
TABLE 2: PERIOD (this table has approx. 90 consecutive days listed)
PERIOD.DATE
PERIOD.ID
....
TABLE 3: INVENTORY (this table stores the available inventory)
INVENTORY.PROPERTYID <- link to Properties table
INVENTORY.DATE
INVENTORY.BEDS
INVENTORY.RATE
....
I want the main form to show the Property, and the subform to be something
like this:
DATE - BEDS - RATE
I can get that much working OK, but the form will only show dates that
already have matching records in the INVENTORY table, but I want it to show
ALL dates from the PERIOD table, even if there is no record in INVENTORY for
that PROPERTY<->DATE combination... HELP!