RECORD_ID Problems
Posted: Tue May 04, 2021 9:07 am
I am having problems with hash cookie RECORD_ID.
As in a previous post, for SQL in Display object I must enclose it in double quotes (why?), and now when I reference it in a PHP procedure it has the value of the procedure name.
I am calling the procedure from an Action Button defined in the form Javascript as:
I inserted the following at the top of the procedure and commented out the rest of the code:
The message displayed on the form is "Record ID is php_add_tcr". What is causing this?
As in a previous post, for SQL in Display object I must enclose it in double quotes (why?), and now when I reference it in a PHP procedure it has the value of the procedure name.
I am calling the procedure from an Action Button defined in the form Javascript as:
Code: Select all
nuAddActionButton('AddContract', 'Add Contract', 'nuRunPHPHidden("php_add_tcr")');
Code: Select all
$js = "nuMessage('Record ID is #RECORD_ID#')";
nuJavascriptCallback($js);