Nice work on rc4. Have found one problem, though…‘Eval’ is now broken in the following situation (was working in rc3 and earlier):
var emp_lastX_field = "person_sn"; // Name of last field
var emp_lastX_pk = eval( emp_lastX_field ); // PK value in field e.g. '5'
application.output( emp_lastX_pk) // Yields 'person_sn' (wrong!)
Should yield pk value of 5 (which it used to). Looks like ‘eval’ is not evaluating.
The value stored in emp_lastX_field is actually a relationship plus dataprovider: gLoginID_to_employees.last_client_sn. The record pointed to by the relationship is not the selected record on any form. Is there a way to use getDataproviderValue when the value you’re trying to get is only accessible through a relationship and is not for a selected record on any form?
I changed the eval("ctlrTop.elements." + param2*);* ** to * _ctlrTop.elements[param2*];*_ _*_ I have used this “eval” more than 100 times in a single solution, now I’m replacing it with the alternate one. Kindly fix this bug asap. ___________________ Backer Pilot Simple Software