XModPro

using controldatasource with token

Paul Buckley Paul Buckley asked Apr 13, 2016
Active Apr 13 · Viewed 2622 times
<p>Why does not this work? When I apply the token it crashes the module, it I remove the where clause it fine. I I try and apply as a parameter to the controldatasource that also crashes the module</p><p> &lt;ControlDataSource Id="dsinit" CommandText="SELECT [username2],[username] FROM [vw_QAusers] where username ='[[User:Username]]' "&gt;&lt;/ControlDataSource&gt;</p><p>I'm trying to solve my previous question by using the dropdown on the add form,but limiting it to the login user and display, so when I use the edit form it will default the user in the dropdown.</p><p>I am still using 4.53 not had time to update</p>

1 Answer

Loading answers...