Anna Petersen
2007-03-02 16:43:29 UTC
Hello,
I am needing to retrieve the field id from a form. I have access to the
following objects in my section of code: the FormRun, the FormStringControl,
and the FormBuildStringControl.
I am trying to check the mandatory status of a field which in this case is
being set at the DataSource level and not the control level. I was trying to
create a new SysDictField to retreive the information but the id's I get back
from control.datasource() and control.datafield() appear to point to
temporary table in memory(??)
Any help at all that anyone could offer would be greatly appreciated. I feel
like I have hit a brick wall here. I can get the correct tableid using the
following:
formRun.form().dataSource(control.dataSource());
but I have no idea how to get the correct field id for the control.
Thank you!
I am needing to retrieve the field id from a form. I have access to the
following objects in my section of code: the FormRun, the FormStringControl,
and the FormBuildStringControl.
I am trying to check the mandatory status of a field which in this case is
being set at the DataSource level and not the control level. I was trying to
create a new SysDictField to retreive the information but the id's I get back
from control.datasource() and control.datafield() appear to point to
temporary table in memory(??)
Any help at all that anyone could offer would be greatly appreciated. I feel
like I have hit a brick wall here. I can get the correct tableid using the
following:
formRun.form().dataSource(control.dataSource());
but I have no idea how to get the correct field id for the control.
Thank you!