IF This.Parent.Name = "frmQuoteNum" SELECT metadata SET FILTER TO ALLTRIM(datafield) = "cboRef" ENDIF...but this doesn't work:
IF This.Parent.Name = "frmQuoteNum" SELECT metadata SET FILTER TO ALLTRIM(datafield) = ALLTRIM(This.Name) ENDIFRight now I'm ending up using the first example with DO CASE ...ENDCASE statements for the name of each combobox that I want to use this for. But I'd like to know why I can't just refer to the "This.Name" property in my Filter statement.