AndyCompanyZ
Registered User.
- Local time
- Today, 04:33
- Joined
- Mar 24, 2011
- Messages
- 223
I have a textbox on a form that displays the venueroomID of a venue room that has been selected prior and stored in a tblEvent. This works fine and is on the form so that the user willknow if a room has already been selected and therefore won't select another. I now need to display the actual room name which is stored in another table tblVenueRooms. I am having a problem working out how to get this to show I tried a query :
but this brings up #NAME in the field. I'm sure this is simple to do but I'm having problems today with my brain not working. can anyone ppint me in the direction I need to go please.
Code:
SELECT tblVenueRooms.VenueRoom
FROM tblEvent INNER JOIN tblVenueRooms ON tblEvent.VenueRoomID = tblVenueRooms.VenueRoomID
WHERE (((tblEvent.EventID)=[frmEvent].[EventID]));
but this brings up #NAME in the field. I'm sure this is simple to do but I'm having problems today with my brain not working. can anyone ppint me in the direction I need to go please.