Werner
Member
Does anybode know whats happening here?
I have an FC that gets the name of a product type. As input I have product nr (INT). As output of the function I have an any pointer to the name of the product name (STRING[10]). I am using SFC 20 (Block move) to copy the name from a DB to a other DB for display usage.
This works:
This does not work:
I must be missing something?!
I have an FC that gets the name of a product type. As input I have product nr (INT). As output of the function I have an any pointer to the name of the product name (STRING[10]). I am using SFC 20 (Block move) to copy the name from a DB to a other DB for display usage.
This works:
Code:
CALL SFC 20
SRCBLK :=P#DB15.DBX0.0 BYTE 12
RET_VAL:=#Return
DSTBLK :=P#DB16.DBX0.0 BYTE 12
This does not work:
Code:
CALL SFC 20
SRCBLK :=P#DB15.DBX BYTE 12
RET_VAL:=#Return
DSTBLK :=OUT_ANY_OF_FC // This is not allowed?
I must be missing something?!