Hello, I've trawled the forums and found a post that describes an sql command that when used in CC, limits the display of records in the frontend only to records that hold a value in the jos_comprofiler table
eg WHERE cb_yardstorageground <> ""
What I need to do is show records in my frontend summary that shows records that have a value in EITHER or BOTH the tables cb_yardstorageground & cb_no1storage
I tried WHERE cb_yardstorageground OR cb_no1storage <> "" but this is not quite right. This only shows values from one field or the other. If a record holds a value in both these fields, I need both values to display.
Can anybody help with this little gremlin?
JR
eg WHERE cb_yardstorageground <> ""
What I need to do is show records in my frontend summary that shows records that have a value in EITHER or BOTH the tables cb_yardstorageground & cb_no1storage
I tried WHERE cb_yardstorageground OR cb_no1storage <> "" but this is not quite right. This only shows values from one field or the other. If a record holds a value in both these fields, I need both values to display.
Can anybody help with this little gremlin?
JR