Forum FlexPro – Discuss your topic!

Using a string to access dataset

Accueil > Community > FPScript > Using a string to access dataset

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12827
    Michael KaufmannMichael Kaufmann
    Participant

    Hello,

    is it possible to use a string which I get when using e.g. “ThisFPObject.ParentFolder.BlendedInSubfolder.Name” to point to a dataset?

    Example:

    Dim Test

    Test = ThisFPObject.ParentFolder.BlendedInSubfolder.Name : “\\” : “XX\\yy”[0]

    should work like

    Test = ‘ZZ\XX\yy'[0]

    Thanks for helping.

    #8484
    Michael KaufmannMichael Kaufmann
    Participant

    Hello,

    is it possible to use a string which I get when using e.g. “ThisFPObject.ParentFolder.BlendedInSubfolder.Name” to point to a dataset?

    Example:

    Dim Test

    Test = ThisFPObject.ParentFolder.BlendedInSubfolder.Name : “\\” : “XX\\yy”[0]

    should work like

    Test = ‘ZZ\XX\yy'[0]

    Thanks for helping.

    #9298
    Bernhard KantzBernhard Kantz
    Participant

    In this case you can use the Indirection Operator $$.

    Example:

    
    ...
    $Test$
    ...
    

    support@weisang.com

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.