EdLimit DynProperties("Function")

EdLimit DynProperties("Function")

Hi to all,
I need to read the DynProperties("Function").Name in a Wizard, associated to a variable that has some limit enabled.
Unfortunately I continue to get runtime errors in VBA when there is no function specified on the limit.
It works only if there is a function string inside the field.
Is there a safe way to know if a variable limit has a function specified? This is the list of usable dynproperties for an EdLimit object:

0: Color
1: UserProperty2
2: UserProperty1
3: Alarm
4: FlagActiv
5: FlagAQuit
6: Delay
7: IsVariable
8: Variable
9: AlarmAcknowledge
10: FlagClassID
11: FlagMessage
12: Text
13: Blinking
14: HelpFile
15: FlagInvisible
16: AlarmDelete
17: Group
18: FlagTreshold
19: FlagLimitVar
20: FlagFunction
21: FlagUser2
22: FlagUser1
23: ThresholdValue
24: FlagAColor
25: Print
26: Function
27: FlagToDelete
28: IsMax
29: Active
30: Cel
31: AML_Call
32: Class
33: FlagAlarmPrt
34: FlagLimitVariable
35: HelpCapture
36: FlagAlarm
37: FlagQuest
38: LimitValue
39: FlagDelay
40: FlagIsAlarm
41: FlagHelpCapture
42: Invisible
43: FlagToCEL
44: FlagLimitIsMax
45: FlagGroup
46: FlagBlinking
47: FlagHelpFile

This is a migrated post! Originally posted on 13.09.2012 by user carlo.chiari. Please be aware that information can be outdated.

    Disclaimer

    This document governs the use of our Community Forum. By registering and using the platform, you accept these conditions.

    The COPA-DATA Community Forum serves to encourage the exchange of information and experience about the zenon software between forum users respectively zenon users.

    Please mind that any published information on the Community Forum is the subjective opinion and view based on the experience and the level of knowledge of the author. COPA-DATA does not overtake any responsibility for the content and the accuracy of the shared information.

    Users of the Community Forum are encouraged to share only well-founded experiences and to point out any risks associated with the implementation of proposed solutions to problems. COPA-DATA at its absolute discretion, reserves the right to moderate the forum. In this connection COPA-DATA may remove any information containing false facts, potentially dangerous solutions, bad language or content that may insult, degrade or discriminate others. COPA-DATA may block a non-complying user from forum access if the user violated this provision.

    COPA-DATA reserves the right to change this document from time to time at own discretion.


    Ing. Punzenberger COPA-DATA GmbH
    Karolingerstraße 7b · 5020 Salzburg · Austria
    www.copadata.com