My query includes 3 tables, tblWorkorders, tblCustomers, tblProperties. The tblCustomers and tblProperties are joined to tblWorkorders via an ID field, e.g., tblCustomers.ID joined to tblWorkOrders.customerID.
Further, tblWorkOrders.customerId is a lookup field, as is tblProperties.propertyId.
My query only needs fields from tblWorkOrders. However, I included tblCustomers, and tblProperties so that I could sort the query by tblCustomers.customername and tblProperties.propertyname.
Without the inclusion of these two tables, sorting the query by tblWorkOrder.customerid and tblWorkOrder.propertyid merely sort by the value contained in those fields which is long int.
I need to remove the additional tables, but still need to sort by propertyname and customername. Is there a way to do that without including the other two tables?
Thanks.
Further, tblWorkOrders.customerId is a lookup field, as is tblProperties.propertyId.
My query only needs fields from tblWorkOrders. However, I included tblCustomers, and tblProperties so that I could sort the query by tblCustomers.customername and tblProperties.propertyname.
Without the inclusion of these two tables, sorting the query by tblWorkOrder.customerid and tblWorkOrder.propertyid merely sort by the value contained in those fields which is long int.
I need to remove the additional tables, but still need to sort by propertyname and customername. Is there a way to do that without including the other two tables?
Thanks.