I'm doing a search in my program as detailed here:
- Code: Select all
if (forms[v_list].controller.find())
{
...
forms[v_list].tbl_assets_to_tbl_assets_users_groups.fld_user_group_id = '^||' + globals.g_current_user_groups;
...
}
When I run it on Developer it works fine. But when I try it on the server via a client I get this error:
org.mozilla.javascript.EcmaError: TypeError: Cannot set property "fld_user_group_id" of to "^||1" (InitTree#67)
As if the find() did not work or if a search was lunch before that line. (but I don't do a search() between the find() and this line)