Steve Sherwood 8.Mar.11 04:20 AM a Web browser Applications Development 6.5.6 Windows XP
I have a web form with an onLoad event which sets a field employeeID:
var objUserInfo = new ActiveXObject("WScript.network");
var fieldReturn1 = document.getElementById("employeeID");
fieldReturn1.value = objUserInfo.UserName;
I want to use the value of the employeeID field (which I can see is set on screen) as the key value in @DbLookups for other computed fields on the form, however, it appears that it is considered blank at the time those lookups are performed (because all values in the view are returned) after the form is opened.
Seems like computed fields are set before the onLoad event.
Can anybody suggest how I can get around this?