I created a control with a user and a password that redirect to a blank form. I want the user id to be passed to the form so that the user cannot change it.
So far, I have the global variable [v_user] that is verified in the control then passed to the form. It is set as a session variable and type out in the control and session type in, in the form.
I used Welcome [v_user] in the header to make sure the variable was passed on and it is the case.
The problem is that in the form, the user_id is still blank and I want to avoid the user to be able to enter another id.
I tried a where clause but since I want to perform an insert with the form and not a select, I think that is why it did not work, but I am still new to scriptcase and MySQL, so Iām not sureā¦
Also, I used sc_apl_conf(āform_tempsā, āstartā, ānewā); in onApplicationInit in the form, so I think it may be interfering with the global variable but Iām not sure ???
Any help would be greatly appreciated.