Skip to Content
avatar image
Former Member

Smartform , Reference field unknown

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 21, 2010 at 04:41 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Marcin Pciak

      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