I have the following SQL statement:
Me!Config.RowSource = "Select Distinct HConfig From Hoist Where TIncl <> -1 And HType = """ & Me!HoistType & """"
This works however I need to add more criteria that are text strings and for the life of me these quotation marks are going to drive me bonkers.
This is what I have:
Me!Capacity.RowSource = "Select Distinct Cap From Hoist Where TIncl <> -1 And HType = """ & Me!HoistType & """ And HConfig = """ & Me!Config & """"
This doesnt work... what are the rules on this for i have more than just this one to add...
Bill
Me!Config.RowSource = "Select Distinct HConfig From Hoist Where TIncl <> -1 And HType = """ & Me!HoistType & """"
This works however I need to add more criteria that are text strings and for the life of me these quotation marks are going to drive me bonkers.
This is what I have:
Me!Capacity.RowSource = "Select Distinct Cap From Hoist Where TIncl <> -1 And HType = """ & Me!HoistType & """ And HConfig = """ & Me!Config & """"
This doesnt work... what are the rules on this for i have more than just this one to add...
Bill