avianmanagement
2020-10-28, 12:46
In the docs for keylookup it says
If you use this function in Web/Mobile clients you should always specify the resultExpr for keyLookup() as a string prefixed with ? so that the parameter can be proxied correctly back to the server without throwing a JavaScript error on the client. e.g. "?lastname".
The examples show
/ Javascript Web Client
cLastname = keylookup("southwind!employees","employeeid",Lianja.get("page1.section1.field3").value, "lastname", "'not found'")
There is no ? in the "lastname" resultExpr in the example.
Am I misunderstanding the ? part
David
If you use this function in Web/Mobile clients you should always specify the resultExpr for keyLookup() as a string prefixed with ? so that the parameter can be proxied correctly back to the server without throwing a JavaScript error on the client. e.g. "?lastname".
The examples show
/ Javascript Web Client
cLastname = keylookup("southwind!employees","employeeid",Lianja.get("page1.section1.field3").value, "lastname", "'not found'")
There is no ? in the "lastname" resultExpr in the example.
Am I misunderstanding the ? part
David