Quote from
Phil78 on October 5, 2021, 3:25 pm
What I found is that if the parameter is not defined, (neoPhpExecSql "dbMT" "inserttour1" "[nID]::[aJ(0)]::[aJ(1)]::::[aJ(3)]::[aJ(4)]::[aJ(5)]" "") we get an empty string ([aJ(2)] => ""), and if we do not pass the parameter (neoPhpExecSql "dbMT" "inserttour1" "[nID]::[aJ(0)]::[aJ(1)]::[aJ(3)]::[aJ(4)]" "") then we get a NULL ([aJ(2)] and [aJ(5)] => null),
which forces to arrange or multiply the request to have the optional parameters last.
So now it is clear for me. Thank you Luis
What I found is that if the parameter is not defined, (neoPhpExecSql "dbMT" "inserttour1" "[nID]::[aJ(0)]::[aJ(1)]::::[aJ(3)]::[aJ(4)]::[aJ(5)]" "") we get an empty string ([aJ(2)] => ""), and if we do not pass the parameter (neoPhpExecSql "dbMT" "inserttour1" "[nID]::[aJ(0)]::[aJ(1)]::[aJ(3)]::[aJ(4)]" "") then we get a NULL ([aJ(2)] and [aJ(5)] => null),
which forces to arrange or multiply the request to have the optional parameters last.
So now it is clear for me. Thank you Luis
luishp has reacted to this post.