R
Ron Weaver
I have an 'Orders' form which has a subform, combos, text boxes, etc. It has
been working fine, but now when I try to add a new table to it, my Customer
combo box quits responding. The new table has a list of conference rooms in
it. My plan is to add a combo box to the 'Orders' form so we can select a
room. My new table has a one to many enforced relationship with the 'Orders'
table. The relationship is between RoomID on my new table, 'tblConfRoom', and
RoomID I added to the 'Orders' table. The following is the 'Orders' form's
SQL:
SELECT Orders.CustomerID, Customer.FirstName, Customer.LastName,
Customer.Address, Customer.City, Customer.State, Customer.ZipCode,
Customer.Phone, Customer.Fax, Orders.OrderID, Orders.CustomerID AS
Orders_CustomerID, Orders.TodaysDate, Orders.StartDate, Orders.EndDate,
Orders.ArriveTime, Orders.StartTime, Orders.EndTime, Orders.Notes,
Customer.CustomerNumber, Orders.CustomerID, Customer.CustomerID,
Customer.Email
FROM tblConfRooms INNER JOIN ((Customer INNER JOIN Orders ON
Customer.CustomerID = Orders.CustomerID) INNER JOIN [Order Details] ON
Orders.OrderID = [Order Details].OrderID) ON tblConfRooms.RoomID =
Orders.RoomID;
I hope this will help.
Thanks
been working fine, but now when I try to add a new table to it, my Customer
combo box quits responding. The new table has a list of conference rooms in
it. My plan is to add a combo box to the 'Orders' form so we can select a
room. My new table has a one to many enforced relationship with the 'Orders'
table. The relationship is between RoomID on my new table, 'tblConfRoom', and
RoomID I added to the 'Orders' table. The following is the 'Orders' form's
SQL:
SELECT Orders.CustomerID, Customer.FirstName, Customer.LastName,
Customer.Address, Customer.City, Customer.State, Customer.ZipCode,
Customer.Phone, Customer.Fax, Orders.OrderID, Orders.CustomerID AS
Orders_CustomerID, Orders.TodaysDate, Orders.StartDate, Orders.EndDate,
Orders.ArriveTime, Orders.StartTime, Orders.EndTime, Orders.Notes,
Customer.CustomerNumber, Orders.CustomerID, Customer.CustomerID,
Customer.Email
FROM tblConfRooms INNER JOIN ((Customer INNER JOIN Orders ON
Customer.CustomerID = Orders.CustomerID) INNER JOIN [Order Details] ON
Orders.OrderID = [Order Details].OrderID) ON tblConfRooms.RoomID =
Orders.RoomID;
I hope this will help.
Thanks