I have a search App which upon selection calls another (grid App). It works fine on the PC inside the browser but it does not work on a mobile devices.
Here is a screenshoot
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“title”:“he56hsdr6y3.jpg”,“data-attachmentid”:84220}[/ATTACH]
in “onValidate” event I have a code to call the grid App
$query2 = "SELECT CustomerID, CompanyID, BusinessName FROM u_customer WHERE CustomerID = ".{u_customer.CustomerID};
sc_lookup(rs2, $query2);
if (isset({rs2[0][0]})) // Row found
{
[glo_customerid] = {rs2[0][0]};
[glo_customername] = {rs2[0][2]};
}
else // No row found
{
[glo_customerid] = 0;
[glo_customername] = 'none';
}
{
sc_redir(gd_t_ticket_4C, glo_customerid=[glo_customerid];glo_customername=[glo_customername], "_self");
}
There is no mobile settings for SEARCH and I suspect the culrit is in the SC_redir() line because the SELECT button on the mobile device is invisible. Instead it is replaced with DONE ubtton which should basically do the same job (as SELECT) but it doe not.