kentico_martind
-
11/3/2009 9:07:47 AM
RE:Repeater with Custom Query question
Hello,
Regrettably, custom fields are not supported in macros in version 3.1a. I would recommend upgrading to latest version or version 4.0 at least.
Also the where condition should be specified in your query this way:
SELECT CMS_stateagencycontent.* FROM CMS_stateagencycontent WHERE (##WHERE##)
And then you should specify whole condition in 'WhereCondition' property:
cms_stateagencycontent.stateagencyid = {%currentuser.StateAgencyId%}
Best Regards,
Martin Dobsicek
|