Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform , Reference field unknown

Former Member
0 Likes
645

Hi guys,

I'm trying to sole a reference filed unknowm in smartform.

I'm using a user defined structure like below:

structure s1

t1 type s2

t2 type s2

structure s2

a type yy

b type yy

This structure is defined in dictionary. I passed this structure to smartform and try to output structure s1 variable like s1-t1-a but it says reference field unknown. Anybody know how to solve this problem ??

Thank you for your help

4 REPLIES 4
Read only

MarcinPciak
Active Contributor
0 Likes
598

This structure is defined in dictionary.

Which one? Please provide more details.

I think the crucial is how you are passing the structure to smartform. If parameter is of generic type (i.e. ANY) you won't see its (structure) components. Create some dummy program and make sure the same definition allows you to address the components in the way you want. If syntax checker pass you, then the problem lies in how you pass the structure to smartform (as described above).

Regards

Marcin

Read only

0 Likes
598

The structure s1 and also the structure s2 are all defined in dictionary

Thank you

Read only

0 Likes
598

You still keep in secret how you are passing the structure, so it is difficult to find the reason.

Regards

Marcin

Read only

0 Likes
598

For an unknown reason when the field is declared as type CURR with decimals (reference table and ref field defined), i have an error of reference field unknown, but when i change the field to DEC with decimals then it works in smrtforms

hmmm...strange