‎2005 Jan 24 9:36 AM
Hello all, I've created a new smartform with a new import parameter called TOTAL_DATA, which contains several fields. TOTAL_DATA is defined in the smartform global settings>form interface tab as an import parameter. I thought this would make this parameter data available within all smartform nodes. TOTAL_DATA is not a table but a structure.
I've inserted some TOTAL_DATA field references, e.g. &TOTAL_DATA-1_6&, into text nodes within a template node. The smartform compiles correctly but when I test the smartform I get error 'Reference field TOTAL_DATA-1_1 unknown in form'. I inserted the field using the smartform field list window click and drag.
Is there something I need to do to make the import paramter data available in the text node.
Any help much appreciated.
Thanks, Inde
‎2005 Jan 24 10:14 AM
Is the reference field TOTAL_DATA-1_1 a currency / quantity field ? If yes, does it have a reference to CUKY / UNIT field ?
If your import structure TOTAL_DATA is not a DDIC structure, then you need to create a Z structure of type TOTAL_DATA and for all currency/unit make sure there is a refernce to CUKY/UNIT.
Regards,
Subramanian V.
‎2005 Jan 24 10:14 AM
Is the reference field TOTAL_DATA-1_1 a currency / quantity field ? If yes, does it have a reference to CUKY / UNIT field ?
If your import structure TOTAL_DATA is not a DDIC structure, then you need to create a Z structure of type TOTAL_DATA and for all currency/unit make sure there is a refernce to CUKY/UNIT.
Regards,
Subramanian V.
‎2005 Jan 24 10:41 AM
Thanks Subramanian, that's solved my problem. My import parameter was referencing a DD structure with currency fields. The DD reference currency field was not passed to the smartform...hence the error.
I've defined the DD reference currency field as a global parameter for the smartform which fixed my problem. I could pass this in as another import parameter which would also fix my problem.
Many thanks for your help, Inde