Rank: Sienn Developer
Groups: Administration
Joined: 10/8/2008(UTC) Posts: 23
|
The definition of the parameters for using a formcontrol: {!$Control.46.<Formid>.<Request>.<Query>.<Default>.<Multiformempty>.<Tabindex>.<Orderby>.<Ajaxenabled option>$!} Note: Use within parametervalues use | instead of a . <Formid> The formid has to be in 2 digits. <Request> "INSERT" add record (default) "WIJZIG" edit record "DEL" delete record "MWIJZIG" multi edit records <Query> The selection for MWIJZIG request. <Default> Default values for fields. <Multiformleeg> Number of empty forms within a MWIJZIG request (default is 1) <Tabindex> Tabindex number <Orderby> Order by for the Query, within a MWIJZIG request <Ajaxenabled option> AjaxEnabled: View is AjaxEnabled Edited by user Tuesday, April 21, 2009 1:02:56 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Sienn Moderator
Groups: Administration, Member Joined: 9/11/2009(UTC) Posts: 6
|
Example of setting a default in a field (field== actie, value == Ja) {!$Control.46.16.INSERT.where 1=1.actie=Ja$!} Edited by moderator Friday, September 20, 2013 9:35:56 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Groups: Administration
Joined: 10/8/2008(UTC) Posts: 190  Was thanked: 1 time(s) in 1 post(s)
|
Is is also possible to add some of these paramaters in the URL. you can use Code:http://www.sienn.com/Basis.aspx?Lid=2&Lit=FORMULIER&REQUEST=WIJZIG&Query=Id=3
to modify record 3 and not add them again you can use Code:http://www.sienn.com/Basis.aspx?Lid=2&Lit=FORMULIER&REQUEST=INSUP
to let a user modify there own record, if a user isn't logged in a new record will be created. (off course you can check weblogin if you don't want new records) Edited by moderator Friday, September 20, 2013 9:33:11 AM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Sienn Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close