Thanks Paul - exactly what I am after. I have had a look at the sample and tried to adapt it to my file. Its kind of working but not pulling the room only data for the sites.
Table is called bay with building (text) and bay (text)
For the building combo I have as follows:
Control Source: BuildingNew
Name: buildingcheck
Row Source:
Code:
SELECT bay.building FROM bay GROUP BY bay.building;
in after update
Code:
Private Sub BuildingNew_AfterUpdate() Me.Bay = vbNullString
Me.Bay.Requery
End Sub
For the room data
Control Source: Bay
Name: Bayconfirmation
Row Source:
Code:
SELECT Bay.Bay FROM Bay WHERE (((bay.building)=Forms![Parking Bookings]!Buildingnew)) ORDER BY [bay].[bay];